aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/utils.js')
-rw-r--r--src/js/utils.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/js/utils.js b/src/js/utils.js
index 18ce6dee..e9687a14 100644
--- a/src/js/utils.js
+++ b/src/js/utils.js
@@ -208,15 +208,6 @@ const utils = {
return `${prefix}-${Math.floor(Math.random() * 10000)}`;
},
- // Determine if we're in an iframe
- inFrame() {
- try {
- return window.self !== window.top;
- } catch (e) {
- return true;
- }
- },
-
// Wrap an element
wrap(elements, wrapper) {
// Convert `elements` to an array, if necessary.