Commit 60d6b329 by doszhang

dos

parent a5478cb9
...@@ -854,14 +854,14 @@ function addCustomizeFlag() { ...@@ -854,14 +854,14 @@ function addCustomizeFlag() {
setTimeout(function () { setTimeout(function () {
$('.flagadd').removeClass('animate'); $('.flagadd').removeClass('animate');
}, 2000); }, 2000);
if (firstChooseFlag) { // if (firstChooseFlag) {
$('#notification_area').remove(); // $('#notification_area').remove();
my_notify('可关闭列表,继续选择Flag'); // my_notify('可关闭列表,继续选择Flag');
$('.checked-flag-list').css('transform', 'scale(1)'); // $('.checked-flag-list').css('transform', 'scale(1)');
$('.flag-page .choose-block').addClass('animate'); // $('.flag-page .choose-block').addClass('animate');
checkFlagListStatus = true; // checkFlagListStatus = true;
firstChooseFlag = false; // firstChooseFlag = false;
} // }
flagStack.push(text); flagStack.push(text);
addFlagToList(text); addFlagToList(text);
$('.flag-page .choose-num').text((chooseNum++) + 1); $('.flag-page .choose-num').text((chooseNum++) + 1);
...@@ -869,14 +869,14 @@ function addCustomizeFlag() { ...@@ -869,14 +869,14 @@ function addCustomizeFlag() {
} }
function addFlag(e) { function addFlag(e) {
if (firstChooseFlag) { // if (firstChooseFlag) {
$('#notification_area').remove(); // $('#notification_area').remove();
my_notify('可关闭列表,继续选择Flag'); // my_notify('可关闭列表,继续选择Flag');
$('.checked-flag-list').css('transform', 'scale(1)'); // $('.checked-flag-list').css('transform', 'scale(1)');
$('.flag-page .choose-block').addClass('animate'); // $('.flag-page .choose-block').addClass('animate');
checkFlagListStatus = true; // checkFlagListStatus = true;
firstChooseFlag = false; // firstChooseFlag = false;
} // }
let text = $(this).find('.flag-text').text(); let text = $(this).find('.flag-text').text();
if (flagStack.indexOf(text) != -1) { if (flagStack.indexOf(text) != -1) {
$('#notification_area').remove(); $('#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