OSDN Git Service

自動リンク機能がある程度安定しているようなので、現時点でのブランチorigin/autolinkをmasterにmerge。
[kenranchat/yadchat.git] / autoclear.js
1 function autoclear() {
2  if (self.document.send) {
3   if (self.document.cmode && self.document.cmode.autoclear) {
4    if (self.document.cmode.autoclear.checked) {
5      if (self.document.send.msg) {
6       self.document.send.msg.value = "";
7       self.document.send.msg.focus();
8     }
9    }
10   }
11  }
12 }