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:
parent
8e29795823
commit
c9c439326f
@ -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">
|
||||
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
body.loading {
|
||||
display: none; }
|
||||
|
||||
li .name {
|
||||
text-shadow: none;
|
||||
padding: 0.2em 0.5em;
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
body.loading {
|
||||
display: none;
|
||||
}
|
||||
li .name {
|
||||
text-shadow: none;
|
||||
padding: 0.2em 0.5em;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user