Skip to content

Commit 47cf269

Browse files
author
Alexandru Meterez
committed
Add frontend fix for dictionary iteration
1 parent 21c744b commit 47cf269

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fred/frontend/js/results.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ $(function(){
2020
success: function(response) {
2121
global_response = response;
2222
$.each(response, function(i, item){
23+
if(i == "risk_score"){
24+
return false;
25+
}
2326
var $x = "";
2427
var $overall_mask_div = parseFloat(item.ui_stats.mask_div.overall);
2528
var $overall_pixel_div = parseFloat(item.ui_stats.pixelwise_div.overall);

0 commit comments

Comments
 (0)