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;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
z-index: 100;
|
||||||
}
|
}
|
||||||
.overlay.dark {
|
.overlay.dark {
|
||||||
background: #040404c2;
|
background: #040404c2;
|
||||||
|
|
|
@ -520,6 +520,11 @@ app.preload = {
|
||||||
'home.quiz_item',
|
'home.quiz_item',
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
|
meet: function() {
|
||||||
|
app.template.loadMany([
|
||||||
|
'overlay.view_image',
|
||||||
|
]);
|
||||||
|
},
|
||||||
quiz: function() {
|
quiz: function() {
|
||||||
app.script('pages.quiz');
|
app.script('pages.quiz');
|
||||||
app.template.loadMany([
|
app.template.loadMany([
|
||||||
|
|
|
@ -26,6 +26,7 @@ app.pages.meet = {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
app.preload.home();
|
app.preload.home();
|
||||||
|
app.preload.meet();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
loadMore: function() {
|
loadMore: function() {
|
||||||
|
@ -182,7 +183,7 @@ app.pages.meet = {
|
||||||
if (current === undefined || current === null)
|
if (current === undefined || current === null)
|
||||||
return app.toast.error(s('app.error.unknown_error'));
|
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')))
|
!await app.toast.warnConfirm(s('app.confirm.crush_discard')))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue