From 5a77399798424c17cb2ed9e1d337c9dfe9bee71d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 31 Mar 2019 20:32:17 +0200 Subject: [PATCH] table test and bug style fixes --- Models/Editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Editor.js b/Models/Editor.js index 501b19a..19bc78e 100644 --- a/Models/Editor.js +++ b/Models/Editor.js @@ -31,8 +31,8 @@ { let textarea = this.editor.getElementsByTagName('textarea')[0]; - const startPosition = textarea.selectionStart, - endPosition = textarea.selectionEnd; + const startPosition = textarea.selectionStart; + const endPosition = textarea.selectionEnd; switch (e.dataset['editorButton']) { case 'undo':