Fix bug
This commit is contained in:
parent
6453ea6756
commit
ede282e064
|
@ -372,7 +372,7 @@
|
||||||
// 當文件物件模型(DOM)載入後,執行init函數
|
// 當文件物件模型(DOM)載入後,執行init函數
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
init();
|
init();
|
||||||
if( $('div[data-pp="1000"]').html().trim() !== ''){
|
if( $('div[data-pp="1000"]').length != 0 && $('div[data-pp="1000"]').html().trim() !== ''){
|
||||||
$('.black-screen').addClass('active');
|
$('.black-screen').addClass('active');
|
||||||
}
|
}
|
||||||
$('.close-btn').click(function() {
|
$('.close-btn').click(function() {
|
||||||
|
|
Loading…
Reference in New Issue