diff options
Diffstat (limited to 'js/lex.js')
| -rw-r--r-- | js/lex.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ Lex.prototype.blur = function(){ focused = null } Lex.prototype.demolish = function(){ - this.span.parentNode.removeChild(this.span) + if (this.span.parentNode) { this.span.parentNode.removeChild(this.span) } this.span = null } Lex.prototype.key = function(char, keyCode) { |
