Commit 3712852c by doszhang

dos

parent cd6d6446
......@@ -166,7 +166,7 @@ function getRand(arr) {
function createItem(flag, no) {
let item = flagTemplate.clone();
item.find('.flag-no').text(no);
item.find('.flag-text').html('<span>' + flag + '</span>').addClass('flag' + no);
item.find('.flag-text').append('<span>' + flag + '</span>').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