diff --git a/js/ghostdown.js b/js/ghostdown.js
index <HASH>..<HASH> 100644
--- a/js/ghostdown.js
+++ b/js/ghostdown.js
@@ -87,11 +87,11 @@ window.socket = io();
 				$(e.target).closest('section').addClass('active');
 			});
 
-			//You're probably looking for this to add functionality when the text
-			//changes.
+			// You're probably looking for this to add functionality when the text
+			// changes.
 			editor.on ("change", function () {
 				updatePreview();
-				if (editInProgress) { return false; }
+				if (editInProgress) { editInProgress = false; return false; }
 				window.socket.emit('markdown', editor.getValue());
 			});
Fixed issue where flag wasn't being reset