Skip to content

Commit e95c1fc

Browse files
Patch
1 parent b7a3fe7 commit e95c1fc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

web/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
location.reload();
3939
}
4040
}).observe(document.getElementById('map'), { childList: true, subtree: true });
41+
setInterval(() => {
42+
const devToolsOpen = window.outerWidth - window.innerWidth > 160 || window.outerHeight - window.innerHeight > 160;
43+
if (devToolsOpen) location.reload();
44+
}, 1000);
4145
</script>
4246
</body>
4347
</html>

0 commit comments

Comments
 (0)