diff --git a/web/src/app/css/base.css b/web/src/app/css/base.css index 653f847..0dc8ec1 100644 --- a/web/src/app/css/base.css +++ b/web/src/app/css/base.css @@ -41,6 +41,7 @@ body { bottom: 0; width: 100%; height: 100%; + z-index: 100; } .overlay.dark { background: #040404c2; diff --git a/web/src/app/js/app.js b/web/src/app/js/app.js index 3c76bcd..5774721 100644 --- a/web/src/app/js/app.js +++ b/web/src/app/js/app.js @@ -520,6 +520,11 @@ app.preload = { 'home.quiz_item', ]); }, + meet: function() { + app.template.loadMany([ + 'overlay.view_image', + ]); + }, quiz: function() { app.script('pages.quiz'); app.template.loadMany([ diff --git a/web/src/app/js/pages/meet.js b/web/src/app/js/pages/meet.js index a20bb58..5ef6f6a 100644 --- a/web/src/app/js/pages/meet.js +++ b/web/src/app/js/pages/meet.js @@ -26,6 +26,7 @@ app.pages.meet = { }); } app.preload.home(); + app.preload.meet(); }); }, loadMore: function() { @@ -182,7 +183,7 @@ app.pages.meet = { if (current === undefined || current === null) return app.toast.error(s('app.error.unknown_error')); - if (typeof current.quiz_id !== 'string' && + if (typeof current.quiz_id === 'string' && !await app.toast.warnConfirm(s('app.confirm.crush_discard'))) return false;