web-manager 3.2.10 → 3.2.11
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/utilities.js +2 -1
- package/package.json +1 -1
package/lib/utilities.js
CHANGED
@@ -103,7 +103,8 @@ Utilities.getContext = function () {
|
|
103
103
|
return typeof m === 'undefined' ? _THROW : m === true;
|
104
104
|
} catch (e) {
|
105
105
|
try {
|
106
|
-
return window.matchMedia('only screen and (max-width:
|
106
|
+
// return window.matchMedia('only screen and (max-width: 767px)').matches;
|
107
|
+
return window.matchMedia('(max-width: 767px)').matches;
|
107
108
|
} catch (e) {
|
108
109
|
return false;
|
109
110
|
}
|
package/package.json
CHANGED