From ea57f8bf7e877a762fe3a4e8241201d872c89db4 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Fri, 8 Sep 2017 16:32:23 +0400 Subject: [PATCH] Move "TW" to left of read article button See https://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle#Button_load_issues --- twinkle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twinkle.js b/twinkle.js index fb433c0aa..23cc8b9bf 100644 --- a/twinkle.js +++ b/twinkle.js @@ -322,7 +322,7 @@ Twinkle.addPortletLink = function( task, text, id, tooltip ) if ( Twinkle.getPref("portletArea") !== null ) { Twinkle.addPortlet( Twinkle.getPref( "portletArea" ), Twinkle.getPref( "portletId" ), Twinkle.getPref( "portletName" ), Twinkle.getPref( "portletType" ), Twinkle.getPref( "portletNext" )); } - var link = mw.util.addPortletLink( Twinkle.getPref( "portletId" ), typeof task === "string" ? task : "#", text, id, tooltip ); + var link = mw.util.addPortletLink( Twinkle.getPref( "portletId" ), typeof task === "string" ? task : "#", text, id, tooltip, null, '#ca-view' ); if ( $.isFunction( task ) ) { $( link ).click(function ( ev ) { task();