Fix crush discard confirmation when Accepted + some UI fixes
This commit is contained in:
parent
9529520bcd
commit
5610cde131
|
@ -41,6 +41,7 @@ body {
|
|||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 100;
|
||||
}
|
||||
.overlay.dark {
|
||||
background: #040404c2;
|
||||
|
|
|
@ -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([
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue