Remove the full-screen loading prompt, as it often makes pages feel significantly slower than they actually are.

This commit is contained in:
Buster Silver 2016-09-22 15:21:07 -05:00
parent e80e390d50
commit 1b309c6a86
2 changed files with 5 additions and 4 deletions

View File

@ -143,6 +143,7 @@
PHP <?=\PHP_VERSION ?>, SlimPHP 3
</footer>
<?php /*
<!-- Page Loader -->
<div class="page-loader">
<div class="preloader pls-blue">
@ -153,6 +154,7 @@
<p>Please wait...</p>
</div>
</div>
*/ ?>
<div id="radio-player"></div>

View File

@ -5,10 +5,9 @@ if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(naviga
$('html').addClass('ismobile');
}
/*
$(window).load(function () {
/* --------------------------------------------------------
Page Loader
-----------------------------------------------------------*/
// Page Loader
if(!$('html').hasClass('ismobile')) {
if($('.page-loader')[0]) {
setTimeout (function () {
@ -18,7 +17,7 @@ $(window).load(function () {
}
}
});
*/
$(document).ready(function(){