first commit

This commit is contained in:
2024-07-15 12:33:27 +02:00
commit ce50ae282b
22084 changed files with 2623791 additions and 0 deletions

11
core/misc/touchevents-test.js Executable file
View File

@@ -0,0 +1,11 @@
/**
* @file
* A replacement for Modernizr touch events detection.
*/
document.documentElement.classList.add(
'ontouchstart' in window ||
(window.DocumentTouch && document instanceof window.DocumentTouch)
? 'touchevents'
: 'no-touchevents',
);