Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -661,7 +661,7 @@ |
662 | 662 | $j.get( wgScriptPath+'/api'+wgScriptExtension, apiParams, |
663 | 663 | function(data) { |
664 | 664 | // Interpret |
665 | | - var content = data.query.threads[0].content; |
| 665 | + var content = data.query.threads[threadId].content; |
666 | 666 | content = $j(content).find('.lqt-thread-replies')[0]; |
667 | 667 | |
668 | 668 | // Inject |
— | — | @@ -709,7 +709,7 @@ |
710 | 710 | |
711 | 711 | $j.get( wgScriptPath+'/api.php', apiParams, |
712 | 712 | function(data) { |
713 | | - var content = data.query.threads[0].content; |
| 713 | + var content = data.query.threads[threadId].content; |
714 | 714 | content = $j(content).find('.lqt-thread-replies')[0]; |
715 | 715 | content = $j(content).contents(); |
716 | 716 | content = content.not('.lqt-replies-finish'); |