|
|
@ -20,10 +20,12 @@ $(document).ready(()=>{ |
|
|
|
|
|
|
|
if(now > timer){ |
|
|
|
showCloud(item.title, [item.short_text, item.long_text], item.image, item.actions, session.messages); |
|
|
|
notify(true); |
|
|
|
} else { |
|
|
|
const delay = (timer - now); |
|
|
|
setTimeout( ()=>{ |
|
|
|
showCloud(item.title, [item.short_text, item.long_text], item.image, item.actions, session.messages); |
|
|
|
notify(true); |
|
|
|
},1000*delay); |
|
|
|
} |
|
|
|
} |
|
|
@ -80,7 +82,6 @@ $(document).ready(()=>{ |
|
|
|
} |
|
|
|
|
|
|
|
scrollBottom(); |
|
|
|
notify(true); |
|
|
|
} |
|
|
|
|
|
|
|
function scrollBottom(){ |
|
|
|