User:Terasail/Edit Request Tool.js: Difference between revisions

Content deleted Content added
Fix format error (Don't cut corners)
Reduce ooui loading
Line 406:
$.getJSON(jsonERTURL, function(dataERT) {
mw.loader.using(["oojs-ui-core", "oojs-ui-widgets", "oojs-ui-windows"]).done(function() {
mw.loader.load(["oojs-ui.styles.icons-layout", "oojs-ui.styles.icons-alerts", "oojs-ui.styles.icons-interactions", "oojs-ui.styles.icons-moderation", "oojs-ui.styles.icons-user", "oojs-ui.styles.icons-content", "oojs-ui.styles.icons-editing-core", "oojs-ui.styles.icons-editing-advanced", "oojs-ui.styles.icons-media"]);
for (let i = 0; i < editRequestBoxes.length; i++) {
let currentBox = editRequestBoxes[i].children[0]; //The tbody tag for the box
Line 415:
}
let replyButton = new OO.ui.ButtonWidget( {
icon: "recentChangesedit",
flags: ["progressive"],
label: "Respond",