diff options
Diffstat (limited to 'source/help.js')
-rw-r--r-- | source/help.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/help.js b/source/help.js index dba3baf217..b138839e59 100644 --- a/source/help.js +++ b/source/help.js @@ -8,9 +8,10 @@ */ function setModule(module){ -var itemspan = document.getElementsByTagName("span"); +if (module == null){module="SHARED"} -if (module == null){module="DEFAPP"} +document.getElementById("bookmark"+module).hidden=false; +var itemspan = document.getElementsByTagName("span"); var n = itemspan.length; for (var i = 0; i < n; i++){ if (itemspan[i].getAttribute("value") == module){ @@ -54,11 +55,6 @@ function fixURL(module, system){ } } -function displayBookmark(module){ - if (module==null){module='WRITER'} - $("#BottomLeft").load('bookmark_'+module+'.html'); -} - function getParameterByName(name, url) { if (!url) { url = window.location.href; |