Index: trunk/extensions/WikiLove/wikiLove.js |
— | — | @@ -288,6 +288,7 @@ |
289 | 289 | e.preventDefault(); |
290 | 290 | var title = '==' + $( '#wlTitle' ).val() + "==\n"; |
291 | 291 | var rawMessage = $( '#wlMessage' ).val(); |
| 292 | + // If there isn't a signature already in the message, add one to the end. |
292 | 293 | if ( rawMessage.indexOf( '~~~' ) == -1 ) { |
293 | 294 | rawMessage += ' ~~~~'; |
294 | 295 | } |