mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Boolean logic, my old enemy
This commit is contained in:
@@ -477,7 +477,7 @@ class TextEditorComponent {
|
||||
attributes.mini = ''
|
||||
}
|
||||
|
||||
if (!model.isReadOnly()) {
|
||||
if (model.isReadOnly()) {
|
||||
attributes.readonly = ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user