summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-08-04 11:31:11 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-08-04 11:32:18 +0200
commit848e083cb5a776a3b42f57cee98140c718f65de8 (patch)
tree83e4d6dae52aa85c34082e7040fec812b1537ab8
parentd0fe4b55519f12d61249e0c552d684a7edea0a93 (diff)
$ => jQuery to avoid replacements in PHP
-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');
}