diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-08-04 11:31:11 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-08-04 11:31:11 +0200 |
commit | ea32756bc51de26bd016909793ea0e7f73ccb8a6 (patch) | |
tree | 0863985f41014053c17130f9cdb76fa0f685657d /plugins | |
parent | f86ee5e424a07aec32f896535496444c56e28701 (diff) |
$ => jQuery to avoid replacements in PHP
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/jqueryui/jqueryui.php | 4 |
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'); } |