diff --git a/static/js/debug.js b/static/js/debug.js index 04f2eeb30..380954556 100644 --- a/static/js/debug.js +++ b/static/js/debug.js @@ -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) { @@ -479,4 +479,4 @@ $(document).ready(function(){ }, 0); } }; -}); \ No newline at end of file +});