Refactor browser check.

This commit is contained in:
Lars Jung 2015-05-16 21:36:05 +02:00
parent 8d3611e30c
commit 0a843a0b1f
5 changed files with 38 additions and 30 deletions

View file

@ -88,6 +88,7 @@
}
.noJsMsg, .noBrowserMsg {
display: none;
margin: 0 16px;
color: @col-error;
}
@ -104,10 +105,10 @@ html.no-js, html.no-browser {
}
}
html.js .noJsMsg {
display: none;
html.no-js .noJsMsg {
display: inline !important;
}
html.browser .noBrowserMsg {
display: none;
html.no-browser .noBrowserMsg {
display: inline !important;
}