mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 18:24:57 +08:00
[all] refactoring
This commit is contained in:
@ -1154,7 +1154,7 @@ define([
|
||||
$('.doc-placeholder').remove();
|
||||
|
||||
this.appOptions.user.guest && this.appOptions.canRenameAnonymous && (Common.Utils.InternalSettings.get("guest-username")===null) && this.showRenameUserDialog();
|
||||
$('#header-logo').children(0).click(function() {
|
||||
$('#header-logo').children(0).click(function(e) {
|
||||
e.stopImmediatePropagation();
|
||||
Common.UI.Themes.toggleTheme();
|
||||
|
||||
|
||||
@ -879,7 +879,7 @@ define([
|
||||
$('.doc-placeholder').remove();
|
||||
this.appOptions.user.guest && this.appOptions.canRenameAnonymous && (Common.Utils.InternalSettings.get("guest-username")===null) && this.showRenameUserDialog();
|
||||
|
||||
$('#header-logo').children(0).click(function() {
|
||||
$('#header-logo').children(0).click(function(e) {
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
Common.UI.Themes.toggleTheme();
|
||||
|
||||
@ -939,7 +939,7 @@ define([
|
||||
if (this.appOptions.user.guest && this.appOptions.canRenameAnonymous && !this.appOptions.isEditDiagram && !this.appOptions.isEditMailMerge && (Common.Utils.InternalSettings.get("guest-username")===null))
|
||||
this.showRenameUserDialog();
|
||||
|
||||
$('#header-logo').children(0).click(function() {
|
||||
$('#header-logo').children(0).click(function(e) {
|
||||
e.stopImmediatePropagation();
|
||||
Common.UI.Themes.toggleTheme();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user