diff options
author | Yorhel <git@yorhel.nl> | 2008-12-14 11:44:09 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-14 11:44:09 +0100 |
commit | d85da4dfaa971c5244bc26d52ca517d6190f0fdb (patch) | |
tree | 45fcba1e07ee0707e366f0cf502dcfbac84a9c4c /static/f | |
parent | 930d2d4dd61bd93b47315eb8992bc745d0fa633a (diff) |
Fixed all XHTML validation bugs I could find
With two exceptions:
- Empty browse tables (/u1/list, /u3/hist, ..)
- Empty <tbody> on /v+/edit and /v/new
I'm not purist enough to work around those bugs. (well, maybe I'll fix the
empty browse table thing, as it's not really user friendly either)
Diffstat (limited to 'static/f')
-rw-r--r-- | static/f/script.js | 17 | ||||
-rw-r--r-- | static/f/style.css | 3 |
2 files changed, 10 insertions, 10 deletions
diff --git a/static/f/script.js b/static/f/script.js index 739b52d0..dcc901e0 100644 --- a/static/f/script.js +++ b/static/f/script.js @@ -335,15 +335,16 @@ DOMLoad(function() { // show/hide NSFW VN image - cl('nsfw_show', function() { - x('nsfw_show').style.display = 'none'; - x('nsfw_hid').style.display = 'block'; - x('nsfw_hid').onclick = function() { - x('nsfw_show').style.display = 'block'; - x('nsfw_hid').style.display = 'none'; + if(x('nsfw_show')) + x('nsfw_show').getElementsByTagName('a')[0].onclick = function() { + x('nsfw_show').style.display = 'none'; + x('nsfw_hid').style.display = 'block'; + x('nsfw_hid').onclick = function() { + x('nsfw_show').style.display = 'block'; + x('nsfw_hid').style.display = 'none'; + }; + return false }; - return false - }); // NSFW toggle for screenshots cl('nsfwhide', function() { diff --git a/static/f/style.css b/static/f/style.css index 06c2fd0a..e1ca5036 100644 --- a/static/f/style.css +++ b/static/f/style.css @@ -77,10 +77,9 @@ p.locked { font-style: italic; margin: 0!important; } -h2 p { +#maincontent h2 b { font: 8pt "Tahoma"; font-weight: normal; - display: inline; } p.description { margin: 10px 100px!important; |