summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/res
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/res')
-rw-r--r--plugins/BasicHistory/res/history.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/BasicHistory/res/history.js b/plugins/BasicHistory/res/history.js
index 4d2156ac24..2a74313492 100644
--- a/plugins/BasicHistory/res/history.js
+++ b/plugins/BasicHistory/res/history.js
@@ -38,11 +38,11 @@ var timer;
function ShowMenu(isShow)
{
- if(timer)
+ if (timer)
clearTimeout(timer);
var menu = document.getElementById("L1");
- if(isShow == 1)
+ if (isShow == 1)
menu.style.visibility = "visible";
else
menu.style.visibility = "hidden";
@@ -59,13 +59,13 @@ function OpenAll(isOpen)
while(gr = document.getElementById("group" + idMod))
{
var imageNode = gr.previousSibling;
- if(imageNode.tagName == null)
+ if (imageNode.tagName == null)
imageNode = imageNode.previousSibling;
imageNode = imageNode.getElementsByTagName("span")[0].getElementsByTagName("img")[0];
var l = imageNode.src.length;
- if(gr.style.display == "block")
+ if (gr.style.display == "block")
{
- if(!isOpen)
+ if (!isOpen)
{
if (imageNode != null)
{
@@ -77,7 +77,7 @@ function OpenAll(isOpen)
gr.style.display = "none";
}
}
- else if(isOpen)
+ else if (isOpen)
{
if (imageNode != null)
{