1
0
mirror of https://github.com/danbee/tube-status-server synced 2025-03-04 08:39:12 +00:00

Remove FOUC.

This commit is contained in:
Dan Barber 2013-01-24 11:46:38 +00:00
parent 8e29795823
commit c9c439326f
4 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<script src="javascripts/libs/require.js" data-main="javascripts/main"></script>
</head>
<body>
<body class="loading">
<div data-role="page" data-add-back-btn="true">

View File

@ -6,6 +6,7 @@ define(['jquerymobile',
function(a, Backbone, Mustache, LinesCollection, LineList) {
return {
initialize: function() {
$('body').removeClass('loading');
var refetch = function() {
$.mobile.loading('show');
lines.fetch({

View File

@ -1,3 +1,6 @@
body.loading {
display: none; }
li .name {
text-shadow: none;
padding: 0.2em 0.5em;

View File

@ -1,3 +1,6 @@
body.loading {
display: none;
}
li .name {
text-shadow: none;
padding: 0.2em 0.5em;