diff --git a/assets/public/js/application.js b/assets/public/js/application.js index 59f121b3..2bb54df6 100644 --- a/assets/public/js/application.js +++ b/assets/public/js/application.js @@ -61,7 +61,7 @@ document.addEventListener('editor', event => { `); - if (document.getElementById('date') || document.getElementById('publishdate')) { + if ((document.getElementById('date') || document.getElementById('publishdate')) && document.getElementById('editor').dataset.kind == "complete") { document.querySelector('#editor .right').insertAdjacentHTML('afterbegin', `