User:PleaseStand/segregate-refs-dev.js: Difference between revisions

Content deleted Content added
remove addEventListener check - MW requires DOM Level 2 Events
quick fix for too small textbox when mw:Help:Extension:WikiEditor/Realtime Preview is enabled on the wiki
Line 456:
refsTextbox.id = "PsRefsTextbox";
refsTextbox.value = segFormat.refCodes.join("\n\n");
refsTextbox.rows = Math.floor(mainTextbox.rows / 2)12;
refsTextbox.cols = mainTextbox.cols;
refsTextbox.style.border = "none";
Line 538 ⟶ 537:
refsTextbox.value = messages.refsCommentComplete +
segFormat.refCodes.join("\n");
refsTextbox.rows = Math.floor(mainTextbox.rows / 2)12;
refsTextbox.cols = mainTextbox.cols;
 
refsTextbox.style.border = "none";