summaryrefslogtreecommitdiffstats
path: root/src/navtree.js
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-02-20 21:09:54 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-02-20 21:09:54 (GMT)
commit709a80a791105768cbf8e9d58fdc811c23e071f0 (patch)
treea9a7b7b5542fbc9a2189f8ae6b39379770043b48 /src/navtree.js
parent9b81ead283ea3f56a89835ac8afcdb75cdaadd03 (diff)
downloadDoxygen-709a80a791105768cbf8e9d58fdc811c23e071f0.zip
Doxygen-709a80a791105768cbf8e9d58fdc811c23e071f0.tar.gz
Doxygen-709a80a791105768cbf8e9d58fdc811c23e071f0.tar.bz2
Release-1.7.6.1-20120220
Diffstat (limited to 'src/navtree.js')
-rw-r--r--src/navtree.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/navtree.js b/src/navtree.js
index eb18215..505ca61 100644
--- a/src/navtree.js
+++ b/src/navtree.js
@@ -19,7 +19,9 @@ function getScript(scriptName,func,show)
script.onload = func;
script.src = scriptName+'.js';
script.onreadystatechange = function() {
- if (script.readyState == 'complete') { func(); if (show) showRoot(); }
+ if (script.readyState=='complete' || script.readyState=='loaded') {
+ func(); if (show) showRoot();
+ }
};
head.appendChild(script);
}