We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a3fe7 commit e95c1fcCopy full SHA for e95c1fc
1 file changed
web/index.html
@@ -38,6 +38,10 @@
38
location.reload();
39
}
40
}).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);
45
</script>
46
</body>
47
</html>
0 commit comments