dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8bb062d
)
Removed the extra parameter from the attachEvent call, which only takes 2 parameters...
author
Trevor Parscal
<tparscal@users.mediawiki.org>
Wed, 9 Dec 2009 21:57:48 +0000
(21:57 +0000)
committer
Trevor Parscal
<tparscal@users.mediawiki.org>
Wed, 9 Dec 2009 21:57:48 +0000
(21:57 +0000)
skins/common/edit.js
patch
|
blob
|
history
diff --git
a/skins/common/edit.js
b/skins/common/edit.js
index
47ade86
..
5249deb
100644
(file)
--- a/
skins/common/edit.js
+++ b/
skins/common/edit.js
@@
-191,7
+191,7
@@
hookEvent( 'load', function() {
editForm.addEventListener('focus', onfocus, true); // This MUST be true to work
} else if ( editForm.attachEvent ) {
// IE needs a specific trick here since it doesn't support the standard
editForm.addEventListener('focus', onfocus, true); // This MUST be true to work
} else if ( editForm.attachEvent ) {
// IE needs a specific trick here since it doesn't support the standard
- editForm.attachEvent( 'onfocusin', function() { onfocus(event); }
, handler
);
+ editForm.attachEvent( 'onfocusin', function() { onfocus(event); } );
}
editForm
}
editForm