summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/res/history.js
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-22 13:55:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-22 13:55:39 +0000
commit1dad958015778d3486838bf3c93fff1793aa5406 (patch)
tree16ddb8957ac62d3ccb20cf070f0bdace203072d2 /plugins/BasicHistory/res/history.js
parentd1963a84cf69f801100367871744a4e1092d2bbc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/res/history.js')
-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)
{