From ea8a6d7f6c76ec908bc6f1e278e44b54559ffded Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Tue, 5 Nov 2013 13:37:59 -0500 Subject: Addressing review comments --- debug_toolbar/static/debug_toolbar/js/toolbar.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/debug_toolbar/static/debug_toolbar/js/toolbar.js b/debug_toolbar/static/debug_toolbar/js/toolbar.js index 6aa503e..094c3ac 100644 --- a/debug_toolbar/static/debug_toolbar/js/toolbar.js +++ b/debug_toolbar/static/debug_toolbar/js/toolbar.js @@ -240,12 +240,12 @@ function renderPerf() { // Browser timing remains hidden unless we can successfully access the performance object var perf = window.performance || window.msPerformance || - window.webkitPerformance || window.mozPerformance; + window.webkitPerformance || window.mozPerformance; if (perf) { var rowCount = 0, timingOffset = perf.timing.navigationStart, - timingEnd = perf.timing.loadEventEnd; - var totalTime = timingEnd - timingOffset; + timingEnd = perf.timing.loadEventEnd, + totalTime = timingEnd - timingOffset; function getLeft(stat) { return ((perf.timing[stat] - timingOffset) / (totalTime)) * 100.0; } @@ -265,9 +265,9 @@ '