remove unnecessary storing of the highlighter used within the portal.options
altarnative to the typo fix #571
This commit is contained in:
parent
7f9399bbeb
commit
6a5d47f146
@ -66,7 +66,6 @@ window.changePortalHighlights = function(name) {
|
|||||||
window.highlightPortal = function(p) {
|
window.highlightPortal = function(p) {
|
||||||
|
|
||||||
if(_highlighters !== null && _highlighters[_current_highlighter] !== undefined) {
|
if(_highlighters !== null && _highlighters[_current_highlighter] !== undefined) {
|
||||||
p.options.highligher = _current_highlighter;
|
|
||||||
_highlighters[_current_highlighter]({portal: p});
|
_highlighters[_current_highlighter]({portal: p});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user