diff --git a/lib/scripts/spellcheck.js b/lib/scripts/spellcheck.js
index ceb1cd074008064eb9593610c2ad5c87851b1c86..9ce529131557801ef76ec39c089e714fe120c093 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;