Fix regression

This commit is contained in:
Magnus Hoff 2017-10-24 15:16:01 +02:00
parent 238d57409b
commit 27ba110ad6

View file

@ -65,7 +65,7 @@ function openEditor() {
// Update url-bar, page title and footer
window.history.replaceState(null, result.title, result.slug == "" ? "." : result.slug);
document.querySelector("title").textContent = result.title;
lastUpdated.textContent = result.last_updated;
lastUpdated.innerHTML = result.last_updated;
lastUpdated.classList.remove("missing");
// Update body: