diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-25 09:55:00 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-25 09:56:22 +0200 |
commit | 7fface125e7db1e7ab47bdfbda5306fa16ea2486 (patch) | |
tree | c7d6e5b2c7eb301617c26e9e304481c606b77cf1 /program/js | |
parent | 115ba30dcd5efce3cd2647847bcc52d5324fcead (diff) |
Fix error when spell-checking an empty text (#1489831)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/googiespell.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/googiespell.js b/program/js/googiespell.js index c33c56872..de58b7e87 100644 --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -289,6 +289,7 @@ this.prepare = function(ignore, no_indicator) this.cnt_errors_fixed = 0; this.cnt_errors = 0; this.setStateChanged('checking_spell'); + this.orginal_text = ''; if (!no_indicator && this.main_controller) this.appendIndicator(this.spell_span); |