Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Core: Fix incorrect useage of $.fn.add
Browse files Browse the repository at this point in the history
  • Loading branch information
arschmitz committed May 9, 2013
1 parent b8f8447 commit 8d61fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/events/touch.js
Expand Up @@ -124,7 +124,7 @@ define( [ "jquery", "../jquery.mobile.vmouse", "../jquery.mobile.support.touch"
timer = setTimeout( function() {
if( $.event.special.tap.emitTapOnTaphold ) {
isTaphold = true;
}
}
triggerCustomEvent( thisObject, "taphold", $.Event( "taphold", { target: origTarget } ) );
}, $.event.special.tap.tapholdThreshold );
});
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.mobile.core.js
Expand Up @@ -307,7 +307,7 @@ define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQ
var $elem = $( elem ),
dependents = $elem.jqmData( "dependents" ) || $();

$elem.jqsmData( "dependents", $.add( dependents, newDependents ) );
$elem.jqmData( "dependents", $( dependents ).add( newDependents ) );
};

// note that this helper doesn't attempt to handle the callback
Expand Down

0 comments on commit 8d61fb2

Please sign in to comment.