[all] hide logo on skeleton for desktop mode
This commit is contained in:
parent
5e39627c87
commit
ebbbbdcb7f
|
@ -201,6 +201,7 @@
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
|
|
||||||
if ( window.AscDesktopEditor ) {
|
if ( window.AscDesktopEditor ) {
|
||||||
|
window.desktop = window.AscDesktopEditor;
|
||||||
window.on_native_message = function (cmd, param) {
|
window.on_native_message = function (cmd, param) {
|
||||||
!window.native_message_cmd && (window.native_message_cmd = []);
|
!window.native_message_cmd && (window.native_message_cmd = []);
|
||||||
window.native_message_cmd[cmd] = param;
|
window.native_message_cmd[cmd] = param;
|
||||||
|
@ -215,6 +216,13 @@
|
||||||
<div id="viewport"></div>
|
<div id="viewport"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
if ( window.desktop ) {
|
||||||
|
var logo = document.getElementsByClassName('loading-logo');
|
||||||
|
if ( !!logo && logo.length ) {
|
||||||
|
logo[0].setAttribute('style','display:none;');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var params = getUrlParams(),
|
var params = getUrlParams(),
|
||||||
notoolbar = params["toolbar"] == 'false',
|
notoolbar = params["toolbar"] == 'false',
|
||||||
compact = params["compact"] == 'true',
|
compact = params["compact"] == 'true',
|
||||||
|
|
|
@ -238,6 +238,7 @@
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
|
|
||||||
if ( window.AscDesktopEditor ) {
|
if ( window.AscDesktopEditor ) {
|
||||||
|
window.desktop = window.AscDesktopEditor;
|
||||||
window.on_native_message = function (cmd, param) {
|
window.on_native_message = function (cmd, param) {
|
||||||
!window.native_message_cmd && (window.native_message_cmd = []);
|
!window.native_message_cmd && (window.native_message_cmd = []);
|
||||||
window.native_message_cmd[cmd] = param;
|
window.native_message_cmd[cmd] = param;
|
||||||
|
@ -264,6 +265,12 @@
|
||||||
<div id="viewport"></div>
|
<div id="viewport"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
if ( window.desktop ) {
|
||||||
|
var logo = document.getElementsByClassName('loading-logo');
|
||||||
|
if ( !!logo && logo.length ) {
|
||||||
|
logo[0].setAttribute('style','display:none;');
|
||||||
|
}
|
||||||
|
}
|
||||||
var params = getUrlParams(),
|
var params = getUrlParams(),
|
||||||
notoolbar = params["toolbar"] == 'false',
|
notoolbar = params["toolbar"] == 'false',
|
||||||
compact = params["compact"] == 'true',
|
compact = params["compact"] == 'true',
|
||||||
|
|
|
@ -238,6 +238,7 @@
|
||||||
window.frameEditorId = params["frameEditorId"];
|
window.frameEditorId = params["frameEditorId"];
|
||||||
|
|
||||||
if ( window.AscDesktopEditor ) {
|
if ( window.AscDesktopEditor ) {
|
||||||
|
window.desktop = window.AscDesktopEditor;
|
||||||
window.on_native_message = function (cmd, param) {
|
window.on_native_message = function (cmd, param) {
|
||||||
!window.native_message_cmd && (window.native_message_cmd = []);
|
!window.native_message_cmd && (window.native_message_cmd = []);
|
||||||
window.native_message_cmd[cmd] = param;
|
window.native_message_cmd[cmd] = param;
|
||||||
|
@ -269,6 +270,13 @@
|
||||||
<div id="viewport"></div>
|
<div id="viewport"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
if ( window.desktop ) {
|
||||||
|
var logo = document.getElementsByClassName('loading-logo');
|
||||||
|
if ( !!logo && logo.length ) {
|
||||||
|
logo[0].setAttribute('style','display:none;');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var params = getUrlParams(),
|
var params = getUrlParams(),
|
||||||
internal = params["internal"] == 'true',
|
internal = params["internal"] == 'true',
|
||||||
notoolbar = params["toolbar"] == 'false',
|
notoolbar = params["toolbar"] == 'false',
|
||||||
|
|
Loading…
Reference in a new issue