Skip to content

Commit

Permalink
bugfix undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Jan 15, 2025
1 parent 3177e9f commit bb7400f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function processUrl() {
}

// Response status.
$status.attr('class', 'alert alert-success').show().text(jqXHR.status + ' ' + jqXHR.statusText + ' - ' + data.time.total + 'ms');
$status.attr('class', 'alert alert-success').show().text(jqXHR.status + ' ' + jqXHR.statusText + ' - ' + (data.time ? data.time.total : '? ') + 'ms');

// Errors.
data.allData.forEach(function(result) {
Expand Down Expand Up @@ -479,4 +479,4 @@ $(document).ready(function(){
}, 0);
}
};
});
});

0 comments on commit bb7400f

Please sign in to comment.