Skip to content

Commit bb7400f

Browse files
committed
bugfix undefined
1 parent 3177e9f commit bb7400f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/js/debug.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ function processUrl() {
348348
}
349349

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

353353
// Errors.
354354
data.allData.forEach(function(result) {
@@ -479,4 +479,4 @@ $(document).ready(function(){
479479
}, 0);
480480
}
481481
};
482-
});
482+
});

0 commit comments

Comments
 (0)