aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2010-11-09 10:34:32 -0500
committerJohn Resig <jeresig@gmail.com>2010-11-09 10:34:32 -0500
commitb5b3c73db3e4e615e504cd0af08ff6842b104542 (patch)
treec5e1ed7aea8452e60fdc6e18330bb7ec5422bb3a /src/event.js
parenta4df6945b8f668d6fe4b1c77610987f738afa01e (diff)
downloadjquery-b5b3c73db3e4e615e504cd0af08ff6842b104542.tar.gz
jquery-b5b3c73db3e4e615e504cd0af08ff6842b104542.zip
We don't do end of line comments, move them above.
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/event.js b/src/event.js
index b4b4da927..04bf168ed 100644
--- a/src/event.js
+++ b/src/event.js
@@ -33,7 +33,7 @@ jQuery.event = {
if ( handler === false ) {
handler = returnFalse;
} else if ( !handler ) {
- // Fixes bug #7229. Fix recommended by jdalton
+ // Fixes bug #7229. Fix recommended by jdalton
return;
}
@@ -490,7 +490,8 @@ jQuery.event = {
// Fix target property, if necessary
if ( !event.target ) {
- event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either
+ // Fixes #1925 where srcElement might not be defined either
+ event.target = event.srcElement || document;
}
// check if target is a textnode (safari)