diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-06-24 17:23:46 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-06-24 17:23:46 -0400 |
commit | 1191d7ffc795995d68435af715f0eaa43dff724b (patch) | |
tree | ab0a510f68aff7fbc0b077d3693bfb400fdc1a32 | |
parent | 635dedf1e43fbb8ae7969ad1b9265002ea5190c3 (diff) | |
download | html5ks-1191d7ffc795995d68435af715f0eaa43dff724b.tar.xz html5ks-1191d7ffc795995d68435af715f0eaa43dff724b.zip |
aaaaagh noscript workaround
-rw-r--r-- | www/css/index.css | 2 | ||||
-rw-r--r-- | www/js/html5ks.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/css/index.css b/www/css/index.css index f300350..9a96f3b 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -76,7 +76,7 @@ body { z-index: 9; } #warn-container { - display: none; + visibility: hidden; cursor: auto; } #warn { diff --git a/www/js/html5ks.js b/www/js/html5ks.js index ade740f..4c87763 100644 --- a/www/js/html5ks.js +++ b/www/js/html5ks.js @@ -79,7 +79,7 @@ var warns = document.getElementById("warns").children; for (var i = 0; i < warns.length; i++) { if (window.getComputedStyle(warns[i]).getPropertyValue("display") !== "none") { - warn.style.display = "block"; + warn.style.visibility = "visible"; } } } |