Skip to content

Commit

Permalink
highlighter may return the applied style
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Feb 17, 2021
1 parent 4ac7196 commit 992f3a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/code/portal_highlighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ window.changePortalHighlights = function(name) {
}

window.highlightPortal = function(p) {

if(_highlighters !== null && _highlighters[_current_highlighter] !== undefined) {
_highlighters[_current_highlighter].highlight({portal: p});
return _highlighters[_current_highlighter].highlight({portal: p});
}
}

Expand Down

0 comments on commit 992f3a6

Please sign in to comment.