diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index bf72d1026c..bd3df33b7a 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -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(); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 8595c24cef..c005f1997a 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -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(); diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 320289adec..d1e10747d2 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -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(); })