Fix ) issue
This commit is contained in:
parent
197197131a
commit
dce6033d60
@ -288,7 +288,7 @@ function serendipity_imageSelector_done(textarea)
|
||||
block = insert;
|
||||
}
|
||||
|
||||
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea] != 'undefined')) {
|
||||
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea]) != 'undefined') {
|
||||
parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, '');
|
||||
} else if (parent.self.opener.editorref) {
|
||||
parent.self.opener.editorref.surroundHTML(block, '');
|
||||
|
@ -288,7 +288,7 @@ function serendipity_imageSelector_done(textarea)
|
||||
block = insert;
|
||||
}
|
||||
|
||||
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea] != 'undefined')) {
|
||||
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea]) != 'undefined') {
|
||||
parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, '');
|
||||
} else if (parent.self.opener.editorref) {
|
||||
parent.self.opener.editorref.surroundHTML(block, '');
|
||||
|
Loading…
x
Reference in New Issue
Block a user