Remove unused OC._matchMedia helper

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2019-01-31 09:15:13 +01:00
parent 85d6d7b87c
commit 6c47f09d60
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 0 additions and 14 deletions

View File

@ -753,20 +753,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
*