mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-02 08:09:47 -04:00
Refactor browser check.
This commit is contained in:
parent
8d3611e30c
commit
0a843a0b1f
5 changed files with 38 additions and 30 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue