Fix mobile loader logo (#317)

This commit is contained in:
Julia Radzhabova 2020-01-28 15:23:12 +03:00 committed by Alexey Golubev
parent 64d8f353ed
commit ed3f982707
3 changed files with 3 additions and 3 deletions

View file

@ -169,7 +169,7 @@
logo = /*params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : */null,
logoOO = null;
if (!logo) {
logoOO = /Android/.test(navigator.userAgent) ? "../../common/mobile/resources/img/header/header-logo-android.png" : "../../common/mobile/resources/img/header/header-logo-ios.png";
logoOO = /Android/.test(navigator.userAgent) ? "../../../apps/documenteditor/mobile/resources/img/header/header-logo-android.png" : "../../../apps/documenteditor/mobile/resources/img/header/header-logo-ios.png";
}
window.frameEditorId = params["frameEditorId"];

View file

@ -220,7 +220,7 @@
logo = /*params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : */null;
var logoOO = null;
if (!logo) {
logoOO = /Android/.test(navigator.userAgent) ? "../../common/mobile/resources/img/header/header-logo-android.png" : "../../common/mobile/resources/img/header/header-logo-ios.png";
logoOO = /Android/.test(navigator.userAgent) ? "../../../apps/presentationeditor/mobile/resources/img/header/header-logo-android.png" : "../../../apps/presentationeditor/mobile/resources/img/header/header-logo-ios.png";
}
window.frameEditorId = params["frameEditorId"];

View file

@ -191,7 +191,7 @@
logo = /*params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : */null;
var logoOO = null;
if (!logo) {
logoOO = /Android/.test(navigator.userAgent) ? "../../common/mobile/resources/img/header/header-logo-android.png" : "../../common/mobile/resources/img/header/header-logo-ios.png";
logoOO = /Android/.test(navigator.userAgent) ? "../../../apps/spreadsheeteditor/mobile/resources/img/header/header-logo-android.png" : "../../../apps/spreadsheeteditor/mobile/resources/img/header/header-logo-ios.png";
}
window.frameEditorId = params["frameEditorId"];