mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 21:54:49 +08:00
Fix bug with co-editing icon
This commit is contained in:
@ -3287,7 +3287,7 @@ define([
|
||||
if ( cls !== me.btnSaveCls && me.btnCollabChanges.rendered ) {
|
||||
me.btnSaveTip = ((length > 1) ? me.tipSaveCoauth : me.tipSave ) + Common.Utils.String.platformKey('Ctrl+S');
|
||||
me.btnCollabChanges.updateHint(me.btnSaveTip);
|
||||
me.btnCollabChanges.$icon.removeClass(me.btnSaveCls).addClass(cls);
|
||||
me.btnCollabChanges.changeIcon({next: cls, curr: me.btnSaveCls});
|
||||
me.btnSaveCls = cls;
|
||||
}
|
||||
},
|
||||
|
||||
@ -1751,7 +1751,7 @@ define([
|
||||
if ( cls !== me.btnSaveCls && me.btnCollabChanges.rendered ) {
|
||||
me.btnSaveTip = ((length > 1) ? me.tipSaveCoauth : me.tipSave ) + Common.Utils.String.platformKey('Ctrl+S');
|
||||
me.btnCollabChanges.updateHint(me.btnSaveTip);
|
||||
me.btnCollabChanges.$icon.removeClass(me.btnSaveCls).addClass(cls);
|
||||
me.btnCollabChanges.changeIcon({next: cls, curr: me.btnSaveCls});
|
||||
me.btnSaveCls = cls;
|
||||
}
|
||||
},
|
||||
|
||||
@ -2145,7 +2145,7 @@ define([
|
||||
if (cls !== this.btnSaveCls && this.btnCollabChanges.rendered) {
|
||||
this.btnSaveTip = ((length > 1) ? this.tipSaveCoauth : this.tipSave ) + Common.Utils.String.platformKey('Ctrl+S');
|
||||
this.btnCollabChanges.updateHint(this.btnSaveTip);
|
||||
this.btnCollabChanges.$icon.removeClass(this.btnSaveCls).addClass(cls);
|
||||
this.btnCollabChanges.changeIcon({next: cls, curr: this.btnSaveCls});
|
||||
this.btnSaveCls = cls;
|
||||
}
|
||||
},
|
||||
|
||||
@ -3273,7 +3273,7 @@ define([
|
||||
if (cls !== this.btnSaveCls && this.btnCollabChanges.rendered) {
|
||||
this.btnSaveTip = ((length>1) ? this.tipSaveCoauth : this.tipSave )+ Common.Utils.String.platformKey('Ctrl+S');
|
||||
this.btnCollabChanges.updateHint(this.btnSaveTip);
|
||||
this.btnCollabChanges.$icon.removeClass(this.btnSaveCls).addClass(cls);
|
||||
this.btnCollabChanges.changeIcon({next: cls, curr: this.btnSaveCls});
|
||||
this.btnSaveCls = cls;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user