Преглед на файлове

fix: export HTML currently exports JS popups

Lewis Cowles преди 1 година
родител
ревизия
fe887b7b5e
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      client/lib/exportHTML.js

+ 3 - 0
client/lib/exportHTML.js

@@ -57,6 +57,9 @@ window.ExportHtml = Popup => {
     Array.from(
       document.querySelectorAll('#header-main-bar .board-header-btns'),
     ).forEach(elem => elem.remove());
+    Array.from(
+      document.querySelectorAll('.js-pop-over, .pop-over'),
+    ).forEach(elem => elem.remove());
     Array.from(document.querySelectorAll('.list-composer')).forEach(elem =>
       elem.remove(),
     );