Commit 5d2fc698 by doszhang

dos

parent dba9717f
......@@ -776,6 +776,10 @@ function addCustomizeFlag() {
checkFlagListStatus = true;
firstChooseFlag = false;
}
if (flagStack.indexOf(text)) {
$('#notification_area').remove();
my_notify('这个Flag已经立过啦!');
}
flagStack.push(text);
addFlagToList(text);
$('.flag-page .choose-num').text((chooseNum++) + 1);
......@@ -797,8 +801,14 @@ function addFlag(e) {
$(e.currentTarget).find('.star1,.star2').removeClass('animate');
}, 2500);
$('.flag-choose-tip').removeClass('active');
let text = $(this).find('.flag-text').text();
if (flagStack.indexOf(text)) {
$('#notification_area').remove();
my_notify('这个Flag已经立过啦!');
}
flagStack.push(text);
addFlagToList(text);
$('.flag-page .choose-num').text((chooseNum++) + 1);
......
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