summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/jqueryui/jqueryui.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php
index 5a0cfbd47..b28631ba7 100644
--- a/plugins/jqueryui/jqueryui.php
+++ b/plugins/jqueryui/jqueryui.php
@@ -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');
}