aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-09 09:02:03 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-09 09:02:03 -0400
commitca42e114c34224b86b9759472ad5f6448bf24d26 (patch)
treed264e138e3a88e9e49d17ac867b843507c4b7735 /ui/jquery.ui.widget.js
parent536ae6189bf0f0de1113bf9ec7054da693544e1f (diff)
parent89c0961c3849db0d804b337f2d438c822074b112 (diff)
downloadjquery-ui-ca42e114c34224b86b9759472ad5f6448bf24d26.tar.gz
jquery-ui-ca42e114c34224b86b9759472ad5f6448bf24d26.zip
Merge branch 'master' of github.com:jquery/jquery-ui
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index 827a95c99..078213c7d 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -15,7 +15,7 @@ $.fn.remove = function( selector, keepData ) {
return this.each(function() {
if ( !keepData ) {
if ( !selector || $.filter( selector, [ this ] ).length ) {
- $( "*", this ).add( this ).each(function() {
+ $( "*", this ).add( [ this ] ).each(function() {
$( this ).triggerHandler( "remove" );
});
}