Commit 015202f9 by doszhang

dos

parent a3e4925f
......@@ -166,8 +166,8 @@ function getRand(arr) {
function createItem(flag, no) {
let item = flagTemplate.clone();
item.find('.flag-no').text(no);
item.find('.flag-text').text(flag).addClass('flag' + no);
$('.flag-frame').append(item.wrap('<span></span>'));
item.find('.flag-text').html('<span>' + flag + '</span>').addClass('flag' + no);
$('.flag-frame').append(item);
}
function fadeInTextUp(text, fadeTime, divName) {
......
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