web-manager 3.2.10 → 3.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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