File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 8383document . addEventListener ( 'DOMContentLoaded' , function ( ) {
8484 document . getElementById ( "plaintext" ) . focus ( ) ;
8585
86+ document . getElementById ( "plaintext" ) . placeholder = "Enter text here."
87+
8688 if ( matches = / (?: ^ | \; ) i n v e r t \= ( [ 0 1 ] ) (?: \; | $ ) / . exec ( document . cookie ) ) {
8789 if ( matches [ 1 ] === '1' ) {
8890 document . body . classList . add ( "invert" ) ;
163165</ script >
164166</ head >
165167< body >
166- < div id ="plaintext-wrapper "> < textarea id ="plaintext " spellcheck ="false "> </ textarea > </ div >
168+ < div id ="plaintext-wrapper "> < textarea id ="plaintext " spellcheck ="false " placeholder =" Please enable JavaScript. " > </ textarea > </ div >
167169< div id ="nav "> < span class ="nav-default "> < a class ="nav-left " href ="https://github.com/topaz/paste "> [github]</ a > < a class ="nav-left " onclick ="invert() "> [invert colors]</ a > < a onclick ="url_generate('raw') "> [generate url]</ a > < a onclick ="url_generate('markdown') "> [generate markdown link]</ a > </ span > < span class ="nav-text-offer "> < input id ="text-offer-value "/> < a onclick ="text_offer_copy() "> [copy]</ a > < a onclick ="text_offer_cancel() "> [cancel]</ a > </ span > </ div >
168170</ body >
169171</ html >
You can’t perform that action at this time.
0 commit comments