chore: make class to get the device form factor

This commit is contained in:
Shishkevich D. committed 2025-03-21 15:09:05 +00:00
1 parent 510c35f450
commit 6f4eefe601
5 files changed
+11 -6

No files matched your search

+6
View File
@@ -780,4 +780,10 @@ class LanguageManager {
return languageFilter.length > 0;
}
}
class DeviceUtils {
static isMobile() {
return window.innerWidth <= 768;
}
}