fix bug
This commit is contained in:
parent
7f3aabf945
commit
685f7de37c
@ -68,7 +68,7 @@ let last_called_postMsg = Date.now()
|
|||||||
previously called "postMessage"
|
previously called "postMessage"
|
||||||
*/
|
*/
|
||||||
function postMsg() {
|
function postMsg() {
|
||||||
if(last_called_postMsg - Date.now() < 100) {
|
if((Date.now() - last_called_postMsg) < 100) {
|
||||||
createModal("slow down there")
|
createModal("slow down there")
|
||||||
debugger;
|
debugger;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user