GQuery $element = (handler.getOptions().getHelperType() == HelperType.ORIGINAL) ? handler.getHelper() : $(ctx.getDraggable());
if ($element == null || $element.length() == 0) {
return;
}
if ($element.data(OLD_OPACITY_KEY) == null) {
return;
}
Double oldOpacity = $element.data(OLD_OPACITY_KEY, Double.class);
$element.css(OPACITY_CSS_KEY, oldOpacity != null ? String.valueOf(oldOpacity) : "");
$element.removeData(OLD_OPACITY_KEY);