Commit 030c2d18 by doszhang

dos

parent 532e40a6
......@@ -128,8 +128,7 @@ function randomFlagArr(length) {
function createItem(flag, no) {
let item = flagTemplate.clone();
item.find('.flag-no').text(no);
item.find('.flag-text').text(flag);
item.addClass('flag' + no);
item.find('.flag-text').text(flag).addClass('flag' + no);
$('.flag-frame').append(item);
}
......
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