r59454 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59453‎ | r59454 | r59455 >
Date:15:38, 26 November 2009
Author:werdna
Status:deferred
Tags:
Comment:
IE compatibility
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.js
@@ -822,7 +822,7 @@
823823
824824 'onTextboxKeyUp' : function(e) {
825825 // 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, '');
827827 var prevWarning = $j('#lqt-sign-warning');
828828 if ( text.match(/~~~~$/) ) {
829829 if ( prevWarning.length ) {

Status & tagging log