fixed bug in new doc

This commit is contained in:
Colin 2024-07-23 15:23:21 -07:00
commit bfaa4af363

View file

@ -185,6 +185,7 @@ haste.prototype.newDocument = function(hideHistory) {
this.$textarea.val('').show('fast', function() { this.$textarea.val('').show('fast', function() {
this.focus(); this.focus();
}); });
this.selectedLines = { startLine: null, endLine: null };
this.removeLineNumbers(); this.removeLineNumbers();
}; };