aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
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:08:13 +0300
commit03eaadb131df925d1072afd2496ee3b41d2f1fc6 (patch)
treea8a50cb39a8e470b7dd64682b2f60b07eb83e223 /src/event.js
parentee0854f85bd686b55757e8854a10480f23c928da (diff)
downloadjquery-03eaadb131df925d1072afd2496ee3b41d2f1fc6.tar.gz
jquery-03eaadb131df925d1072afd2496ee3b41d2f1fc6.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 Closes gh-2613 Closes gh-2601
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 233fd4348..97dbf57b2 100644
--- a/src/event.js
+++ b/src/event.js
@@ -810,7 +810,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;