Index: branches/wmf/1.18wmf1/extensions/LiquidThreads/lqt.js |
— | — | @@ -835,6 +835,9 @@ |
836 | 836 | var linkTitle = thread.find('.lqt-thread-title-metadata').val(); |
837 | 837 | var linkURL = wgArticlePath.replace( "$1", linkTitle.replace(/ /g, '_' ) ); |
838 | 838 | linkURL = wgServer + linkURL; |
| 839 | + if ( linkURL.substr( 0, 2 ) == '//' ) { |
| 840 | + linkURL = window.location.protocol + linkURL; |
| 841 | + } |
839 | 842 | liquidThreads.showLinkWindow( linkTitle, linkURL ); |
840 | 843 | }, |
841 | 844 | |