[Plugin: SyntaxHighlighter Evolved] [Plugin: Simple Facebook Connect] Conflict
-
Hi
SyntaxHighlighter Evolved not working with Simple Facebook Connect. When both plugins are enabled, the following javascript error occurs.Node not found DOM Exception 8
@
document.getElementsByTagName("head")[0].insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") );
Even though the ‘head’ element and ‘syntaxhighlighteranchor’ objects are not null, the error is displayed.
For solution, change the above line in ‘syntaxhighlighter.php’ to,
document.getElementById("syntaxhighlighteranchor").parentNode.insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") );
Similarly for this line,
document.getElementsByTagName("head")[0].insertBefore( themecss, document.getElementById("syntaxhighlighteranchor") );
change it to,
document.getElementById("syntaxhighlighteranchor").parentNode.insertBefore( themecss, document.getElementById("syntaxhighlighteranchor") );
- The topic ‘[Plugin: SyntaxHighlighter Evolved] [Plugin: Simple Facebook Connect] Conflict’ is closed to new replies.