Showing loading screen at start

before-bootstrap
Candid Dauth 2014-04-10 01:30:29 +02:00
rodzic fa7a5a8fbe
commit 161a3bc1dd
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -251,7 +251,6 @@
function bindSocketToScope($scope, socket) {
socket.on("padData", function(data) {
console.log(data);
$scope.padData = data;
});

Wyświetl plik

@ -9,6 +9,9 @@
</style>
</head>
<body>
<div ng-hide="loaded" style="position:absolute; top:0; left:0; right:0; bottom:0; padding:10px; background: #fff; z-index:100000; font-size:1.5em; font-weight:bold;">
Loading...
</div>
<div id="map"></div>
<div id="map-disabled-cover" ng-hide="!error &amp;&amp; loaded"></div>