Updates fallback.

This commit is contained in:
Lars Jung 2013-07-11 17:57:28 +02:00
parent bf059c0393
commit d7b51e2de8
4 changed files with 12 additions and 5 deletions

View file

@ -1,5 +1,6 @@
#no-js-fallback { #fallback {
display: none;
max-width: 960px; max-width: 960px;
margin: 80px auto; margin: 80px auto;
@ -79,3 +80,11 @@
} }
} }
} }
html.no-js, html.no-browser {
#fallback {
display: block;
}
}

View file

@ -25,7 +25,7 @@
@import "inc/view-grid"; @import "inc/view-grid";
// @import "inc/context-menu"; // @import "inc/context-menu";
@import "inc/dropbox"; @import "inc/dropbox";
@import "inc/no-js-fallback"; @import "inc/fallback";
@import "inc/responsive"; @import "inc/responsive";

View file

@ -35,8 +35,6 @@
if ($('html').hasClass('no-browser')) { if ($('html').hasClass('no-browser')) {
$(function () { $('#no-js-fallback').removeClass('hideOnJs'); });
} else if (mode === 'info') { } else if (mode === 'info') {
$(function () { modulejs.require('info'); }); $(function () { modulejs.require('info'); });

View file

@ -39,4 +39,4 @@ html.no-js( lang="en" )
span.right span.right
span.center span.center
div#no-js-fallback.hideOnJs !{fallback} div#fallback !{fallback}