aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGary Ye <garysye@gmail.com>2015-09-18 09:59:48 -0700
committerOleg Gaidarenko <markelog@gmail.com>2015-10-12 18:09:37 +0300
commitef6cd83ab04d96b8ed9487ee57707100d97bf18c (patch)
tree6157621c1c181997f1723e74360518b5b7b0cf3d /src
parent7e78c2ec81dbb7bac9222864c4981ed0a54b66e5 (diff)
downloadjquery-ef6cd83ab04d96b8ed9487ee57707100d97bf18c.tar.gz
jquery-ef6cd83ab04d96b8ed9487ee57707100d97bf18c.zip
Tests:Docs: Fix various typos
* Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Cherry-picked from 03eaadb131df925d1072afd2496ee3b41d2f1fc6 Closes gh-2613 Closes gh-2601
Diffstat (limited to 'src')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 6cb4db551..e93a27093 100644
--- a/src/event.js
+++ b/src/event.js
@@ -893,7 +893,7 @@ jQuery.each( {
related = event.relatedTarget,
handleObj = event.handleObj;
- // For mousenter/leave call the handler if related is outside the target.
+ // For mouseenter/leave call the handler if related is outside the target.
// NB: No relatedTarget if the mouse left/entered the browser window
if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {
event.type = handleObj.origType;