r97237 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97236‎ | r97237 | r97238 >
Date:06:13, 16 September 2011
Author:werdna
Status:deferred
Tags:
Comment:
Make comments always threaded instead of always not, for now.
Modified paths:
  • /branches/lqt-updates/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: branches/lqt-updates/extensions/LiquidThreads/lqt.js
@@ -47,10 +47,8 @@
4848 var topicID = liquidThreads.removePrefix( topicContainer.id, 'lqt-topic_' );
4949 var params = { 'form' : 'reply', 'topic' : topicID };
5050
51 - if ( $j(postContainer).parent()[0] != topicContainer ) {
52 - var postID = liquidThreads.removePrefix( postContainer.id, 'lqt-post_' );
53 - params['reply-post'] = postID;
54 - }
 51+ var postID = liquidThreads.removePrefix( postContainer.id, 'lqt-post_' );
 52+ params['reply-post'] = postID;
5553
5654 var repliesElement = $j(postContainer).contents().filter('.lqt-replies');
5755 var replyDiv = repliesElement.contents().filter('.lqt-reply-form');

Status & tagging log