mirror of
https://github.com/ikrpg/ikrpg.github.io.git
synced 2026-05-13 14:27:22 +00:00
Repaired javascript
This commit is contained in:
parent
14b3e1f867
commit
9e32e64589
2 changed files with 3 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue