ui: display mode fix

This commit is contained in:
undefined committed 2021-08-30 06:33:06 +08:00
1 parent 66c618adda
commit ee2ba9c712
8 files changed
+33 -30

No files matched your search

@@ -1,4 +1,5 @@
import _ from 'lodash';
import $ from 'jquery';
import { NamedPage } from 'vj/misc/Page';
import Notification from 'vj/components/notification';
import { ConfirmDialog } from 'vj/components/dialog';
@@ -200,7 +201,9 @@ async function handleDownload(ev) {
}
const page = new NamedPage(['problem_main', 'problem_category'], () => {
const doc = document.getElementById('listSection');
const doc = document.body;
doc.className += ' display-mode';
$('.section.display-mode').removeClass('display-mode');
buildCategoryFilter();
parseCategorySelection();
$('[name="leave-edit-mode"]').on('click', () => {