diff --git a/static/application.js b/static/application.js index bf126f4..78d5e73 100644 --- a/static/application.js +++ b/static/application.js @@ -185,6 +185,7 @@ haste.prototype.newDocument = function(hideHistory) { this.$textarea.val('').show('fast', function() { this.focus(); }); + this.selectedLines = { startLine: null, endLine: null }; this.removeLineNumbers(); };