Remove jquery from browser.py

This commit is contained in:
Henrik Giesel 2021-04-13 19:54:45 +02:00
parent 18f03d5cb1
commit 64c7d405f5

View File

@ -607,7 +607,7 @@ where id in %s"""
def _on_preview_closed(self) -> None: def _on_preview_closed(self) -> None:
if self.editor.web: if self.editor.web:
self.editor.web.eval("$('#previewButton').removeClass('highlighted')") self.editor.web.eval("document.getElementById('previewButton').classList.remove('highlighted')")
self._previewer = None self._previewer = None
# Card deletion # Card deletion