mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
Add objectfit and localstorage to browser features
This commit is contained in:
parent
22369729f9
commit
511b1f409c
3 changed files with 7 additions and 4 deletions
|
@ -7,6 +7,8 @@
|
||||||
"feature-detects": [
|
"feature-detects": [
|
||||||
"test/css/displaytable",
|
"test/css/displaytable",
|
||||||
"test/css/flexbox",
|
"test/css/flexbox",
|
||||||
"test/es5/specification"
|
"test/es5/specification",
|
||||||
|
"test/css/objectfit",
|
||||||
|
"test/storage/localstorage"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -51,7 +51,8 @@ function checkBrowserFeatures(featureList) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var validBrowser = checkBrowserFeatures([
|
var validBrowser = checkBrowserFeatures([
|
||||||
"displaytable", "flexbox", "es5object", "es5function"
|
"displaytable", "flexbox", "es5object", "es5function", "localstorage",
|
||||||
|
"objectfit"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// We want to support some name / value pairs in the fragment
|
// We want to support some name / value pairs in the fragment
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue