Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -1516,7 +1516,7 @@ |
1517 | 1517 | apiRequest.sortkey = newSortkey; |
1518 | 1518 | } |
1519 | 1519 | |
1520 | | - if ( params.subject.length == "" ) { |
| 1520 | + if ( params.subject.length == 0 ) { |
1521 | 1521 | |
1522 | 1522 | $j( '.mw-ajax-loader' ).remove(); // remove spinner |
1523 | 1523 | alert( mediaWiki.msg( 'lqt-ajax-no-subject' ) ); |