Skip to content

Commit

Permalink
JS comment lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samdutton committed Jan 11, 2018
1 parent 91f149f commit 0732dd9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions search/shakespeare/elasticlunr/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function displayText(match) {
highlightMatch(scene, 'li:not(.stage-direction)', lineIndex);
} else if (match.r === 's') { // match is a stage direction
highlightMatch(scene, '.stage-direction', match.i);
} else if (match.r === 't') { // match is a scene title, only ever one
} else if (match.r === 't') { // match is a scene title, only ever one
highlightMatch(scene, '.scene-description', 0);
}
};
Expand All @@ -179,8 +179,6 @@ function formatCitation(match) {
`${play}.${actNum}.${sceneNum}`;
}

// window.onscroll =

// Utility functions

function hide(element) {
Expand Down

0 comments on commit 0732dd9

Please sign in to comment.