Commit a56317ea authored by Ariel Flesler's avatar Ariel Flesler

jquery event: fixed $.fn.load, closes #2819.

parent 858d56fc
jQuery.fn.extend({
// Keep a copy of the old load
_load: jQuery.fn.load,
load: function( url, params, callback ) {
if ( jQuery.isFunction( url ) )
return this.bind("load", url);
if ( typeof url != 'string' )
return this._load( url );
var off = url.indexOf(" ");
if ( off >= 0 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment