mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
Fix background image placeholder
This commit is contained in:
parent
f4dc8cbcf9
commit
c9bdc1b6e9
@ -134,7 +134,10 @@
|
||||
{!! bs_footer() !!}
|
||||
|
||||
<script>
|
||||
$(window).resize(changeWrapperHeight).scroll(function(event) {
|
||||
$(window)
|
||||
.ready(changeWrapperHeight)
|
||||
.resize(changeWrapperHeight)
|
||||
.scroll(function(event) {
|
||||
// change color of the navigation bar when scrolling
|
||||
if (document.body.scrollTop >= ($(window).height() * 2 / 3)) {
|
||||
$('.main-header').removeClass('transparent');
|
||||
|
Loading…
Reference in New Issue
Block a user