From 84c5a25ef351b8752b5dc47601185fe252d74470 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 29 Jan 2014 13:50:34 -0800 Subject: [PATCH] :memo: Shorten comment --- src/editor-view.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/editor-view.coffee b/src/editor-view.coffee index 9a5cd92ce..c3754070b 100644 --- a/src/editor-view.coffee +++ b/src/editor-view.coffee @@ -429,10 +429,8 @@ class EditorView extends View lastInput = e.originalEvent.data @editor.insertText(lastInput) - # Return true if the last input was a space - # This prevents parent elements from scrolling if lastInput is ' ' - true + true # Prevents parent elements from scrolling when a space is typed else @hiddenInput.val(lastInput) false