[pypy-commit] jitviewer default: also highlight the line

fijal noreply at buildbot.pypy.org
Sat Jul 23 18:18:49 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r161:9cc45021ed0d
Date: 2011-07-23 18:16 +0200
http://bitbucket.org/pypy/jitviewer/changeset/9cc45021ed0d/

Log:	also highlight the line

diff --git a/_jitviewer/static/script.js b/_jitviewer/static/script.js
--- a/_jitviewer/static/script.js
+++ b/_jitviewer/static/script.js
@@ -3,6 +3,8 @@
 
 function show_loop(no, path)
 {
+    $("#loop-" + glob_bridge_state.no).removeClass("selected");
+    $("#loop-" + no).addClass("selected");
     $("#title-text").html($("#loop-" + no).attr('name'));
     $("#title").show();
     glob_bridge_state.no = no;


More information about the pypy-commit mailing list