diff --git a/src/highlight.js b/src/highlight.js index 946dafa817..ac44a1e115 100644 --- a/src/highlight.js +++ b/src/highlight.js @@ -822,7 +822,6 @@ const HLJS = function(hljs) { function boot() { // if a highlight was requested before DOM was loaded, do now highlightAll(); - window.removeEventListener('DOMContentLoaded', boot, false); } // if we are called too early in the loading process