Got highlight working again with the new shared iframes.
This commit is contained in:
parent
51a568c39c
commit
a90a2a842e
|
@ -487,7 +487,7 @@ Editor.prototype.highlight = function ( scroll ) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
function do_highlight() {
|
function do_highlight() {
|
||||||
if ( self.div ) {
|
if ( !self.iframe ) {
|
||||||
new Highlight( self.div, options = { "queue": { "scope": "highlight", "limit": 1 } } );
|
new Highlight( self.div, options = { "queue": { "scope": "highlight", "limit": 1 } } );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue