MyWikiBiz, Author Your Legacy — Friday November 29, 2024
Jump to navigationJump to search
435 bytes removed
, 08:19, 20 April 2007
Line 1: |
Line 1: |
− | // This script changes the "Your signature with timestamp" edit button to use a real em dash instead of two hyphens. <pre><nowiki>
| + | {{delete}} |
− | | |
− | (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>
| |