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 14, 2021
1 parent 7e9c1e7 commit 790c2e7
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 790c2e7

Please sign in to comment.