📅  最后修改于: 2022-03-11 15:04:28.108000             🧑  作者: Mango
var checkExist = setInterval(function() {
if ($('#the-canvas').length) {
console.log("Exists!");
clearInterval(checkExist);
}
}, 100); // check every 100ms