summaryrefslogtreecommitdiffstatshomepage
path: root/core/misc/touchevents-test.es6.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/misc/touchevents-test.es6.js')
-rw-r--r--core/misc/touchevents-test.es6.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/misc/touchevents-test.es6.js b/core/misc/touchevents-test.es6.js
deleted file mode 100644
index 8e7ab4831f8..00000000000
--- a/core/misc/touchevents-test.es6.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * @file
- * A replacement for Modernizr touch events detection.
- */
-
-document.documentElement.classList.add(
- 'ontouchstart' in window ||
- (window.DocumentTouch && document instanceof window.DocumentTouch)
- ? 'touchevents'
- : 'no-touchevents',
-);