瀏覽代碼

Fix on previous commit

Thijs Kinkhorst 22 年之前
父節點
當前提交
46cfe9697d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/squirrelspell/js/init.js

+ 1 - 1
plugins/squirrelspell/js/init.js

@@ -21,5 +21,5 @@
 function sqspell_init(flag){
   textToSpell = opener.document.compose.subject.value + "\n" + opener.document.compose.body.value;
   document.forms[0].sqspell_text.value = textToSpell;
-  if (flag) document.compose.submit();
+  if (flag) document.forms[0].submit();
 }