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:
26b770c
)
allow onloadFuncts to be set before wikibits.js is loaded
author
Tom Gilder
<tomgilder@users.mediawiki.org>
Sun, 30 Oct 2005 00:25:49 +0000
(
00:25
+0000)
committer
Tom Gilder
<tomgilder@users.mediawiki.org>
Sun, 30 Oct 2005 00:25:49 +0000
(
00:25
+0000)
skins/common/wikibits.js
patch
|
blob
|
history
diff --git
a/skins/common/wikibits.js
b/skins/common/wikibits.js
index
4bb674b
..
851fabf
100644
(file)
--- a/
skins/common/wikibits.js
+++ b/
skins/common/wikibits.js
@@
-14,7
+14,9
@@
if (clientPC.indexOf('opera')!=-1) {
// add any onload functions in this hook (please don't hard-code any events in the xhtml source)
var doneOnloadHook;
-var onloadFuncts = [];
+
+if ( !window.onloadFuncts )
+ var onloadFuncts = [];
function addOnloadHook( hookFunct )
{