Permalink
Browse files

Clicking on institution now toggles like the triangle to the left.

  • Loading branch information...
1 parent c3dbc49 commit 56b67c1f192f1907be570dcf06007db9d9426aa3 @emeryberger committed Jan 5, 2017
Showing with 6 additions and 2 deletions.
  1. +3 −1 csrankings.js
  2. +3 −1 csrankings.ts
View
@@ -652,7 +652,9 @@ var CSRankings = (function () {
}
}
s += "\n<tr><td>" + rank + "</td>";
- s += "<td><span onclick=\"CSRankings.toggleFaculty('" + dept + "')\" class=\"hovertip\" id=\"" + dept + "-widget\">" + "<font color=\"blue\">" + CSRankings.RightTriangle + "</span></font>&nbsp;" + dept;
+ s += "<td>"
+ + "<span onclick=\"CSRankings.toggleFaculty('" + dept + "')\" class=\"hovertip\" id=\"" + dept + "-widget\">" + "<font color=\"blue\">" + CSRankings.RightTriangle + "</span></font>&nbsp;"
+ + "<span onclick=\"CSRankings.toggleFaculty('" + dept + "')\" class=\"hovertip\">" + dept + "</span>";
s += "&nbsp;<font color=\"blue\">" + "<span onclick=\"CSRankings.toggleChart('"
+ escape(dept)
+ "')\" class=\"hovertip\" id=\""
View
@@ -832,7 +832,9 @@ class CSRankings {
}
}
s += "\n<tr><td>" + rank + "</td>";
- s += "<td><span onclick=\"CSRankings.toggleFaculty('" + dept + "')\" class=\"hovertip\" id=\"" + dept + "-widget\">" + "<font color=\"blue\">" + CSRankings.RightTriangle + "</span></font>&nbsp;" + dept;
+ s += "<td>"
+ + "<span onclick=\"CSRankings.toggleFaculty('" + dept + "')\" class=\"hovertip\" id=\"" + dept + "-widget\">" + "<font color=\"blue\">" + CSRankings.RightTriangle + "</span></font>&nbsp;"
+ + "<span onclick=\"CSRankings.toggleFaculty('" + dept + "')\" class=\"hovertip\">" + dept + "</span>";
s += "&nbsp;<font color=\"blue\">" + "<span onclick=\"CSRankings.toggleChart('"
+ escape(dept)
+ "')\" class=\"hovertip\" id=\""

0 comments on commit 56b67c1

Please sign in to comment.