diff options
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/js/js.js b/core/js/js.js index de27ff7a926..bc4a8413e0b 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -754,20 +754,6 @@ Object.assign(window.OC, { }, /** - * Wrapper for matchMedia - * - * This is makes it possible for unit tests to - * stub matchMedia (which doesn't work in PhantomJS) - * @private - */ - _matchMedia: function(media) { - if (window.matchMedia) { - return window.matchMedia(media); - } - return false; - }, - - /** * Returns the user's locale as a BCP 47 compliant language tag * * @return {String} locale string |