[perf-web] Fix date-range label highlighting



commit 076b9144a5aee33ef6052b0e7908473388dd6beb
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sun Jun 29 11:04:01 2014 -0400

    Fix date-range label highlighting
    
    Fix for a change of IDs in the generated HTML.

 static/main.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/static/main.js b/static/main.js
index 7d6d562..3cd6529 100644
--- a/static/main.js
+++ b/static/main.js
@@ -1007,7 +1007,7 @@ PerfDisplay.prototype.onWindowLoaded = function() {
 
 function setRange(e, a, rangeType) {
     e.preventDefault();
-    $( "#headerLeft a" ).removeClass('range-active');
+    $( "#aboveMainLeft a" ).removeClass('range-active');
     $( a ).addClass('range-active');
 
     theDisplay.setPositionAndRange(theDisplay.centerTime, rangeType, false);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]