$ => jQuery to avoid replacements in PHP

pull/18/head
Thomas Bruederli 14 years ago
parent f86ee5e424
commit ea32756bc5

@ -39,8 +39,8 @@ class jqueryui extends rcube_plugin
// patch dialog position function in order to fully fit the close button into the window
$rcmail->output->add_script("jQuery.extend(jQuery.ui.dialog.prototype.options.position, {
using: function(pos) {
var topOffset = $(this).css(pos).offset().top - 12;
if (topOffset < 0) $(this).css('top', pos.top - topOffset);
var topOffset = jQuery(this).css(pos).offset().top - 12;
if (topOffset < 0) jQuery(this).css('top', pos.top - topOffset);
}
});", 'foot');
}

Loading…
Cancel
Save