[all] refactoring

This commit is contained in:
Maxim Kadushkin 2021-02-14 00:44:12 +03:00
parent db3a344760
commit 436e232b2e
3 changed files with 3 additions and 3 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();
})