Adding in .bind(name, false), .unbind(name, false) support - an easy way to just stop bubbling and the default action on an element. Fixes #6188.
This commit is contained in:
parent
ba7195e3f9
commit
a45372a4c5
3 changed files with 37 additions and 5 deletions
|
@ -13,8 +13,8 @@ var jsc = now(),
|
|||
|
||||
jQuery.fn.extend({
|
||||
load: function( url, params, callback ) {
|
||||
if ( typeof url !== "string" ) {
|
||||
return _load.call( this, url );
|
||||
if ( typeof url !== "string" && _load ) {
|
||||
return _load.apply( this, arguments );
|
||||
|
||||
// Don't do a request if no elements are being requested
|
||||
} else if ( !this.length ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue