Content deleted Content added
+ooui |
There is always something that doesn't work |
||
Line 369:
let timeNow = dateObj.toLocaleTimeString('en-GB', { timeZone: 'UTC', hour: '2-digit', minute: '2-digit' });
preview += nickname + " " + timeNow + ", " + dateNow + " (UTC)";
$.post(restTransform, 'wikitext=' + encodeURIComponent(preview) + '&body_only=true',
function(html) {
if (inputText.value != "" || typeof(replyOption) != "undefined") {//Stops preview appearing with empty input box
|