Repaired javascript

This commit is contained in:
phil 2013-06-12 19:52:13 +02:00
parent 14b3e1f867
commit 9e32e64589
2 changed files with 3 additions and 13 deletions

View file

@ -42,10 +42,10 @@
event.preventDefault();
var fontSize = parseFloat(style["fontSize"], 10);
if (fontSize < fontSize25)
article.style["fontSize"] = fontSize0+"px";
else if (fontSize > fontSize15)
if (fontSize > fontSize15)
article.style["fontSize"] = fontSize3+"px";
else if (fontSize < fontSize25)
article.style["fontSize"] = fontSize0+"px";
}
addListener(jsOnload, "mouseover", over);