[all] refactoring
This commit is contained in:
parent
db3a344760
commit
436e232b2e
|
@ -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();
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue