]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/code-editor.js
Replaced embeds with images in exports
[bookstack] / resources / js / components / code-editor.js
index f44de813de18bf93290e30a484a9ca3e921b26ac..4ee3531c58a7da957079a7a9ffb6c46aaaaf9c4c 100644 (file)
@@ -96,7 +96,7 @@ class CodeEditor {
         this.historyDropDown.classList.toggle('hidden', historyKeys.length === 0);
         this.historyList.innerHTML = historyKeys.map(key => {
              const localTime = (new Date(parseInt(key))).toLocaleTimeString();
-             return `<li><button type="button" data-time="${key}">${localTime}</button></li>`;
+             return `<li><button type="button" data-time="${key}" class="text-item">${localTime}</button></li>`;
         }).join('');
     }