]> source.dussan.org Git - jquery-ui.git/commitdiff
core: use triggerHandler instead of trigger to fire "remove" event - Safari seems...
authorPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 3 Jul 2008 13:35:07 +0000 (13:35 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 3 Jul 2008 13:35:07 +0000 (13:35 +0000)
ui/ui.core.js

index 3a7238ca8e17b5a24dc204c26f38ddb9b5de4cec..2150e497ad3c49af5513b05adf1ce175da09241c 100644 (file)
@@ -65,7 +65,7 @@ $.ui = {
 
 var _remove = $.fn.remove;
 $.fn.remove = function() {
-       $("*", this).add(this).trigger("remove");
+       $("*", this).add(this).triggerHandler("remove");
        return _remove.apply(this, arguments );
 };