diff --git a/public/js/script.js b/public/js/script.js index 119b2b8f0..60715139a 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -874,13 +874,15 @@ function showResult(difficultyFailed = false) { } let tagsText = ""; - dbSnapshot.tags.forEach(tag => { - // dbSnapshot.tags.forEach(snaptag => { - if(tag.active === true){ - tagsText += "
"+tag.name; - } - // }) - }) + try{ + dbSnapshot.tags.forEach(tag => { + if(tag.active === true){ + tagsText += "
"+tag.name; + } + }) + }catch(e){ + + } if(tagsText == ""){ $("#result .stats .tags").addClass('hidden');