Changes

MyWikiBiz, Author Your Legacy — Tuesday December 03, 2024
Jump to navigationJump to search
no edit summary
// This script changes the "Your signature with timestamp" edit button to use a real em dash instead of two hyphens. <pre><nowiki>

(function () {
var oldAddButton = addButton;
if (typeof(oldAddButton) != 'function') return;
addButton = function () {
if (arguments.length > 2)
arguments[2] = arguments[2].replace(/^--(~+)$/, '—$1');
oldAddButton.apply(this, arguments);
};
})();

// </nowiki></pre>
111

edits

Navigation menu