Changeset 18270

Show
Ignore:
Timestamp:
08/27/08 01:11:45 (6 years ago)
Author:
NeoCat
Message:

post if LF is entered.(for browser not supporting onkeypress such as MobileSafari?)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/twicli.html

    r18198 r18270  
    4141<!--発言フォーム--> 
    4242<form name="frm" action="http://twitter.com/statuses/update.xml" method="POST" target="tx"> 
    43 <textarea id="fst" type="text" name="status" onkeypress="return press(event)"></textarea> 
     43<textarea id="fst" type="text" name="status" onkeyup="if (this.value.indexOf('\n') >= 0) return press(1)" onkeypress="return press(event)"></textarea> 
    4444<input type="hidden" name="source" value="twicli"> 
    4545<a id="go" href="javascript:void press(1)"><img src="go.png"></a>