diff options
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index f3d76132a..2ad091bcf 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -9,11 +9,6 @@ */ ;(function($) { -// This adds a selector to check if data exists. -jQuery.extend(jQuery.expr[':'], { - data: "jQuery.data(a, m[3])" -}); - $.ui = { plugin: { add: function(module, option, set) { @@ -76,6 +71,9 @@ $.ui = { /** jQuery core modifications and additions **/ +// This adds a selector to check if data exists. +jQuery.expr[':'].data = "jQuery.data(a, m[3])"; + var _remove = $.fn.remove; $.fn.remove = function() { $("*", this).add(this).triggerHandler("remove"); |