mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix readonly issue in history mode
This commit is contained in:
parent
61df9d5254
commit
945a436eb2
@ -883,7 +883,7 @@ define([
|
||||
onEditableChange: evEditableStateChange.reg,
|
||||
|
||||
// Determine whether the UI should be locked for editing.
|
||||
isLocked: function () { return state !== STATE.READY; },
|
||||
isLocked: function () { return state !== STATE.READY || unsyncMode; },
|
||||
|
||||
// Determine whether the pad is a "read only" pad and cannot be changed.
|
||||
isReadOnly: function () { return readOnly; },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user