diff options
Diffstat (limited to 'js/lex.js')
| -rw-r--r-- | js/lex.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,9 +118,9 @@ Lex.prototype.focus = function(){ focused = this } Lex.prototype.blur = function(){ - this.span.classList.remove('focused') - this.focused = false focused = null + this.span && this.span.classList.remove('focused') + this.focused = false this.onBlur && this.onBlur() } Lex.prototype.demolish = function(){ |
