Skip to content

Commit

Permalink
closes #53
Browse files Browse the repository at this point in the history
  • Loading branch information
elangenhan committed May 27, 2015
1 parent 8cee882 commit dc40883
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chrome_plugin/js/inject/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ function updateSelection() {
if (containsObject(getNameOfLecture(subjects[i]), selection)) {

subjects[i].style.background = '#e0e6ef';
subjects[i].childNodes[1].childNodes[0].className = 'addButton active';

} else {
subjects[i].style.background = 'white';
subjects[i].childNodes[1].childNodes[0].className = 'addButton';
}
} catch (e) {
console.log(e);
Expand Down

0 comments on commit dc40883

Please sign in to comment.