User:Ahecht/Scripts/draft-sorter.js: Difference between revisions

Content deleted Content added
use async functions, other code cleanup and simplification
Not the sandbox
Line 17:
}
 
var portletLink = mw.util.addPortletLink("p-cactions", "#", "Sort draft (sandbox)", "pt-draftsort", "Manage WikiProject tags");
$( portletLink ).click( function ( e ) {
e.preventDefault();