Commit d6f631b7 by doszhang

dos

parent 563733e4
......@@ -384,17 +384,17 @@ function createList(flag, no) {
}
function addCustomizeFlag() {
if (firstChooseFlag) {
$('.checked-flag-list').css('transform', 'scale(1)');
checkFlagListStatus = true;
firstChooseFlag = false;
}
let text = $('input[name=customize-flag]').val();
if (text.match(/^\s*$/)) {
$('#notification_area').remove();
my_notify('请填写flag');
return false;
}
if (firstChooseFlag) {
$('.checked-flag-list').css('transform', 'scale(1)');
checkFlagListStatus = true;
firstChooseFlag = false;
}
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