Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -822,7 +822,7 @@ |
823 | 823 | |
824 | 824 | 'onTextboxKeyUp' : function(e) { |
825 | 825 | // Check if a user has signed their post, and if so, tell them they don't have to. |
826 | | - var text = $j(this).val().trim(); |
| 826 | + var text = $j(this).val().replace(/^\s+|\s+$/g, ''); |
827 | 827 | var prevWarning = $j('#lqt-sign-warning'); |
828 | 828 | if ( text.match(/~~~~$/) ) { |
829 | 829 | if ( prevWarning.length ) { |