From a4655fce494ff0ab970622dfa9fe30e58b4a32ec Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 21 Nov 2017 11:08:08 +0100 Subject: [PATCH] ui fix: prevent race condition with popover trophy update --- static/js/contrib.js | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/static/js/contrib.js b/static/js/contrib.js index 158e745..baf85d8 100644 --- a/static/js/contrib.js +++ b/static/js/contrib.js @@ -527,17 +527,24 @@ function updateProgressHeader(org) { categ = trophy_categ_list[i]; $('#trophy_'+categ).attr('src', source); $('#trophy_'+categ).attr('title', ""); - $('#trophy_'+categ).popover("destroy") - } - for(var i=0; i