Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -549,7 +549,7 @@ |
550 | 550 | $j.get( wgScriptPath+'/api.php', apiReq, |
551 | 551 | function(data) { |
552 | 552 | // Load data from JSON |
553 | | - var html = data.query.threads[0].content; |
| 553 | + var html = data.query.threads[threadId].content; |
554 | 554 | var newContent = $j(html); |
555 | 555 | |
556 | 556 | // Clear old post and header. |