Boolean logic, my old enemy

This commit is contained in:
Ash Wilson
2018-04-12 14:13:38 -04:00
parent 4e9544583b
commit 0c2f458497

View File

@@ -477,7 +477,7 @@ class TextEditorComponent {
attributes.mini = ''
}
if (!model.isReadOnly()) {
if (model.isReadOnly()) {
attributes.readonly = ''
}