diff options
Diffstat (limited to 'app/assets/javascripts/sourcegraph/load.js')
-rw-r--r-- | app/assets/javascripts/sourcegraph/load.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/sourcegraph/load.js b/app/assets/javascripts/sourcegraph/load.js index f9491505d42..f41efc10d6c 100644 --- a/app/assets/javascripts/sourcegraph/load.js +++ b/app/assets/javascripts/sourcegraph/load.js @@ -1,6 +1,3 @@ import initSourcegraph from './index'; -/** - * Load sourcegraph in it's own listener so that it's isolated from failures. - */ -document.addEventListener('DOMContentLoaded', initSourcegraph); +initSourcegraph(); |