Skip to content

Commit 160126e

Browse files
committed
remove unused code
1 parent 7261dd8 commit 160126e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

public/assets/js/analytics.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,4 @@
3535
} else {
3636
_init();
3737
}
38-
39-
const _protect = () => {
40-
const devtools = { open: false, orientation: null };
41-
const threshold = 160;
42-
setInterval(() => {
43-
if (window.outerHeight - window.innerHeight > threshold || window.outerWidth - window.innerWidth > threshold) {
44-
if (!devtools.open) {
45-
devtools.open = true;
46-
}
47-
} else {
48-
devtools.open = false;
49-
}
50-
}, 500);
51-
};
52-
53-
_protect();
5438
})();

0 commit comments

Comments
 (0)