summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/scripts/spellcheck.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/spellcheck.js b/lib/scripts/spellcheck.js
index ceb1cd074..9ce529131 100644
--- a/lib/scripts/spellcheck.js
+++ b/lib/scripts/spellcheck.js
@@ -323,7 +323,6 @@ function ajax_spell_class(){
ajax_spell.showboxObj.style.width = ajax_spell.textboxObj.style.width;
ajax_spell.showboxObj.style.height = ajax_spell.textboxObj.style.height;
ajax_spell.textboxObj.style.display = 'none';
- ajax_spell.editbarObj.style.visibility = 'hidden';
ajax_spell.showboxObj.style.display = 'block';
}else{
if(error == '2'){
@@ -374,6 +373,7 @@ function ajax_spell_class(){
this.run = function(){
ajax_spell.setState('run');
ajax_spell.textboxObj.disabled = true;
+ ajax_spell.editbarObj.style.visibility = 'hidden';
var ajax = new sack(ajax_spell.handler);
ajax.AjaxFailedAlert = '';
ajax.encodeURIString = false;