diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2012-12-23 00:48:14 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2012-12-23 00:48:14 +0100 |
| commit | 9a33867e6579c955d71e4e62923aa4faf27e450d (patch) | |
| tree | 8f452e97b817f839747d550aaf9c4821e8810f68 | |
| parent | 49afb685c8e658c0f36b8171e176363538eb9419 (diff) | |
Fix expanding boards on boardlist on Webkit browsers using javascript
| -rw-r--r-- | js/chrome-board-expanding-fix.js | 7 | ||||
| -rw-r--r-- | stylesheets/style.css | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/js/chrome-board-expanding-fix.js b/js/chrome-board-expanding-fix.js new file mode 100644 index 00000000..f0a5930a --- /dev/null +++ b/js/chrome-board-expanding-fix.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $(".desktop-style .sub .sub").on("mouseover", function() { + $(this).addClass("hover"); + }).on("mouseout", function() { + $(this).removeClass("hover"); + }); +}); diff --git a/stylesheets/style.css b/stylesheets/style.css index bd5bd4d6..e1965a47 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -427,7 +427,7 @@ table.mod.config-editor input[type="text"] { width: 7px; background: url('img/arrow.png') right center no-repeat; } -.desktop-style .sub .sub:hover { +.desktop-style .sub .sub:hover, .desktop-style .sub .sub.hover { display: inline; text-indent: 0px; background: inherit; |
