diff --git a/ui/ui.core.js b/ui/ui.core.js index 22597bf9d..7165ff91a 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -18,7 +18,9 @@ $.fn.remove = function() { }; // This adds a selector to check if data exists. -$.expr[':'].data = "jQuery.data(a, m[3])"; +$.expr[':'].data = function(a, i, m) { + return $.data(a, m[3]); +}; $.keyCode = { BACKSPACE: 8,