Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js |
— | — | @@ -278,15 +278,9 @@ |
279 | 279 | $.wikiLove.showError( 'wikilove-err-header' ); return false; |
280 | 280 | } |
281 | 281 | |
282 | | - /* |
283 | | - Let's not show an error for not entering a message, making it always optional. |
284 | | - This is preferred over removing the field from the interface, so that users are |
285 | | - stimulated to enter a message, but are not required to do so if they want to leave |
286 | | - a quick gesture of appreciation. |
287 | 282 | if( $( '#mw-wikilove-message' ).val().length <= 0 ) { |
288 | 283 | $.wikiLove.showError( 'wikilove-err-msg' ); return false; |
289 | 284 | } |
290 | | - */ |
291 | 285 | |
292 | 286 | // If there isn't a signature already in the message, throw an error |
293 | 287 | if ( $( '#mw-wikilove-message' ).val().indexOf( '~~~' ) >= 0 ) { |