File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77< script src ="javascripts/link-index.js " type ="text/javascript "> </ script >
88< script src ="javascripts/register-links.js " type ="text/javascript "> </ script >
99
10- < script type ="text/javascript "> //<![CDATA[
10+ < script type ="text/javascript "> //<![CDATA[
1111$ ( window ) . load ( function ( ) {
12- var title = $ ( '#fulltext' ) . val ( ) ;
12+ $ ( '#wrap-intro' ) . click ( function ( ) {
13+ var title = $ ( '#fulltext' ) . val ( ) ;
1314var re = new RegExp ( ' ' , "g" ) ;
1415var re2 = new RegExp ( '--' , "g" ) ;
1516var re3 = new RegExp ( "[0-9]" , "g" ) ;
2425 }
2526
2627}
27- $ ( '#wrap-intro' ) . click ( function ( ) {
28- $ ( '#showtext' ) . val ( title ) ;
28+ $ ( '#showtext' ) . val ( title ) ;
29+ } ) ;
30+
31+ $ ( "#form" ) . submit ( function ( ) {
32+ $ ( "#form" ) . validate ( ) ;
33+ return false ;
34+ } ) ;
35+
36+ $ ( "#showtext" ) . focus ( function ( ) {
37+ var $this = $ ( this ) ;
38+ $this . select ( ) ;
39+ // Work around Chrome's little problem
40+ $this . mouseup ( function ( ) {
41+ // Prevent further mouseup intervention
42+ $this . unbind ( "mouseup" ) ;
43+ return false ;
44+ } ) ;
2945 } ) ;
30-
31-
3246} ) ; //]]>
33-
3447</ script >
3548
36-
3749</ head >
3850< body >
3951< form id ="form ">
You can’t perform that action at this time.
0 commit comments