Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -842,9 +842,10 @@ |
843 | 843 | |
844 | 844 | 'showThreadLinkWindow' : function(e) { |
845 | 845 | e.preventDefault(); |
846 | | - var linkURL = $j(this).find('a').attr('href'); |
847 | 846 | var thread = $j(this).closest('.lqt_thread'); |
848 | 847 | var linkTitle = thread.find('.lqt-thread-title-metadata').val(); |
| 848 | + var linkURL = wgArticlePath.replace( "$1", linkTitle.replace(' ', '_' ) ); |
| 849 | + linkURL = wgServer + linkURL; |
849 | 850 | liquidThreads.showLinkWindow( linkTitle, linkURL ); |
850 | 851 | }, |
851 | 852 | |