Commit 60d6b329 by doszhang

dos

parent a5478cb9
......@@ -854,14 +854,14 @@ function addCustomizeFlag() {
setTimeout(function () {
$('.flagadd').removeClass('animate');
}, 2000);
if (firstChooseFlag) {
$('#notification_area').remove();
my_notify('可关闭列表,继续选择Flag');
$('.checked-flag-list').css('transform', 'scale(1)');
$('.flag-page .choose-block').addClass('animate');
checkFlagListStatus = true;
firstChooseFlag = false;
}
// if (firstChooseFlag) {
// $('#notification_area').remove();
// my_notify('可关闭列表,继续选择Flag');
// $('.checked-flag-list').css('transform', 'scale(1)');
// $('.flag-page .choose-block').addClass('animate');
// checkFlagListStatus = true;
// firstChooseFlag = false;
// }
flagStack.push(text);
addFlagToList(text);
$('.flag-page .choose-num').text((chooseNum++) + 1);
......@@ -869,14 +869,14 @@ function addCustomizeFlag() {
}
function addFlag(e) {
if (firstChooseFlag) {
$('#notification_area').remove();
my_notify('可关闭列表,继续选择Flag');
$('.checked-flag-list').css('transform', 'scale(1)');
$('.flag-page .choose-block').addClass('animate');
checkFlagListStatus = true;
firstChooseFlag = false;
}
// if (firstChooseFlag) {
// $('#notification_area').remove();
// my_notify('可关闭列表,继续选择Flag');
// $('.checked-flag-list').css('transform', 'scale(1)');
// $('.flag-page .choose-block').addClass('animate');
// checkFlagListStatus = true;
// firstChooseFlag = false;
// }
let text = $(this).find('.flag-text').text();
if (flagStack.indexOf(text) != -1) {
$('#notification_area').remove();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment