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