mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
30584bfef9
commit
b2d97de513
8 changed files with 38 additions and 30 deletions
|
@ -14,12 +14,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.356",
|
||||
"_release": "1.4.356",
|
||||
"version": "1.4.357",
|
||||
"_release": "1.4.357",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.356",
|
||||
"commit": "2115cec7c7cfaaa4335d3dce66e0696f41889e6b"
|
||||
"tag": "1.4.357",
|
||||
"commit": "f86cea07e8cbfa00553794c2320b1a1dc44749ef"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.1",
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
|
||||
this.classList.add('emby-button');
|
||||
|
||||
if (browser.firefox) {
|
||||
// Even though they support flex, it doesn't quite work with button elements
|
||||
if (browser.firefox || browser.safari) {
|
||||
this.classList.add('emby-button-noflex');
|
||||
}
|
||||
|
||||
|
|
|
@ -185,7 +185,13 @@ define(['connectionManager', 'userSettings', 'events'], function (connectionMana
|
|||
|
||||
function translateKeyFromModule(key, module) {
|
||||
|
||||
return getDictionary(module)[key] || key;
|
||||
var dictionary = getDictionary(module);
|
||||
|
||||
if (!dictionary) {
|
||||
return key;
|
||||
}
|
||||
|
||||
return dictionary[key] || key;
|
||||
}
|
||||
|
||||
function replaceAll(str, find, replace) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue