Skip to content

Commit

Permalink
hover state bug fix
Browse files Browse the repository at this point in the history
fixed bug where the second row of fields would remain highlighted
sometimes.
  • Loading branch information
rvdende committed May 3, 2014
1 parent b8f19c2 commit cbd80de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/towmatrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ var updateFields = function () {
$("#structureTextBlockTop").html(coursedata.fieldstext[state.school][state.field]).fadeIn(350)
}

for (var a =0; a < 5; a++) {
for (var a =0; a < 10; a++) {

if (state.field == a) {
$( "#field"+a ).css("background", colors[state.school+1])
Expand Down

0 comments on commit cbd80de

Please sign in to comment.