X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fevent%2Fevent.js;h=b49e1755dc2d897f747cd6397301f61ca3332914;hb=eabac3f6a189342cf8bb615de904f9f125374c67;hp=a402340db833d064129a8af13ea2fb43f53382cf;hpb=d7fe34c440b5b52edd0ebabfa942d560e35224f3;p=jquery.git diff --git a/src/event/event.js b/src/event/event.js index a402340..b49e175 100644 --- a/src/event/event.js +++ b/src/event/event.js @@ -307,7 +307,7 @@ jQuery.fn.extend({ * Binds a handler to a particular event (like click) for each matched element. * The handler is executed only once for each element. Otherwise, the same rules * as described in bind() apply. - The event handler is passed an event object that you can use to prevent + * The event handler is passed an event object that you can use to prevent * default behaviour. To stop both default action and event bubbling, your handler * has to return false. * @@ -570,7 +570,7 @@ jQuery.extend({ // Reset the list of functions jQuery.readyList = null; } - // Remove event lisenter to avoid memory leak + // Remove event listener to avoid memory leak if ( jQuery.browser.mozilla || jQuery.browser.opera ) document.removeEventListener( "DOMContentLoaded", jQuery.ready, false );