PrismHighlight/init.js

6 lines
217 B
JavaScript

// jQuery.ready() fires when still at 'interactive' which is does not work for this script
document.onreadystatechange = function () {
if (document.readyState == "complete") {
Prism.highlightAll();
}
}