mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
코드 규칙에 맞게 고침
This commit is contained in:
parent
70aea72af3
commit
ea8c5d24f0
1 changed files with 12 additions and 11 deletions
|
|
@ -127,18 +127,19 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
<block cond="!Mobile::isFromMobilePhone()">
|
<block cond="!Mobile::isFromMobilePhone()">
|
||||||
function sc(){
|
function sc() {
|
||||||
var wh = $(window).height();
|
var wh = $(window).height();
|
||||||
var l = $('#nc_container .list');
|
var l = $('#nc_container .list');
|
||||||
if(l.height()+100 >= wh) {
|
if (l.height() + 100 >= wh) {
|
||||||
l.height(wh-98).addClass('listscroll');
|
l.height(wh - 98).addClass('listscroll');
|
||||||
} else {
|
} else {
|
||||||
l.height('auto').removeClass('listscroll');
|
l.height('auto').removeClass('listscroll');
|
||||||
}
|
}
|
||||||
setTimeout(sc, 100);
|
setTimeout(sc, 100);
|
||||||
}
|
}
|
||||||
sc();
|
|
||||||
</block>
|
</block>
|
||||||
|
sc();
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue