The timeout looks bad when there are no widgets

This commit is contained in:
Samuel Georges 2016-02-25 19:04:59 +11:00
parent c736643202
commit 46e70385e2
2 changed files with 1 additions and 18 deletions

View File

@ -22,21 +22,6 @@
height: 150px;
top: 50%;
margin-top: -90px;
/*
&:before {
content: '';
background: transparent url('../../images/october-leaf.svg') no-repeat;
background-size: 49px 65px;
width: 49px;
height: 65px;
left: 50%;
top: 50%;
margin-top: -33px;
margin-left: -24px;
position: absolute;
.opacity(0.2);
}
*/
}
.dashboard-container > .report-container.loading .loading-indicator-container .loading-indicator:after {
content: '';

View File

@ -16,9 +16,7 @@
<script>
$(document).ready(function() {
$.request('onInitReportContainer').done(function(){
setTimeout(function() {
$('#dashReportContainer').removeClass('loading')
}, 100)
$('#dashReportContainer').removeClass('loading')
})
})
</script>