diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-04-05 01:17:41 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-04-05 01:17:41 -0400 |
| commit | 0403ee1f31d3f127a44aaabdfd21785d7efa6430 (patch) | |
| tree | cb1cc796e7002ef61f68dda7ff798e36c3e7f90d /src/client/views/DocumentDecorations.tsx | |
| parent | dc20420e4757824974ba4b2ea3926d541f5e8b60 (diff) | |
Fixed remaining linter warnings
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 11bf24505..1bb00a3fc 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -60,10 +60,10 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> if (text[0] === '#') { let command = text.slice(1, text.length); this._fieldKey = new Key(command) - // if (command == "Title" || command == "title") { + // if (command === "Title" || command === "title") { // this._fieldKey = KeyStore.Title; // } - // else if (command == "Width" || command == "width") { + // else if (command === "Width" || command === "width") { // this._fieldKey = KeyStore.Width; // } this._title = "changed" |
