mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use string key to initialise editor mode instead of boolean
This commit is contained in:
parent
25b995d3b8
commit
d33c7f0149
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ define [
|
|||
opening: true
|
||||
trackChanges: false
|
||||
wantTrackChanges: false
|
||||
showRichText: localStorage("editor.mode.#{@$scope.project_id}") or false
|
||||
showRichText: localStorage("editor.mode.#{@$scope.project_id}") == 'rich-text'
|
||||
}
|
||||
|
||||
@$scope.$on "entity:selected", (event, entity) =>
|
||||
|
|
Loading…
Reference in a new issue