diff options
author | Phil Hughes <me@iamphill.com> | 2019-02-08 14:06:24 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-02-08 14:06:24 +0000 |
commit | 37b860d7bf24bfe5c6414bcd4009ce85a1cafd46 (patch) | |
tree | a65e3a315319df4beef5d974608441a7ca2853df /app/assets/javascripts/mr_notes | |
parent | d32331516ed7c6a7ccfe82f2529e450fd829bb94 (diff) | |
download | gitlab-ce-37b860d7bf24bfe5c6414bcd4009ce85a1cafd46.tar.gz |
Fixes diff web worker not loading in staging
https://gitlab.com/gitlab-org/quality/staging/issues/34
Diffstat (limited to 'app/assets/javascripts/mr_notes')
-rw-r--r-- | app/assets/javascripts/mr_notes/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/mr_notes/index.js b/app/assets/javascripts/mr_notes/index.js index e4d72eb8318..9e99aa4f724 100644 --- a/app/assets/javascripts/mr_notes/index.js +++ b/app/assets/javascripts/mr_notes/index.js @@ -7,8 +7,11 @@ import discussionCounter from '../notes/components/discussion_counter.vue'; import initDiscussionFilters from '../notes/discussion_filters'; import store from './stores'; import MergeRequest from '../merge_request'; +import { resetServiceWorkersPublicPath } from '../lib/utils/webpack'; export default function initMrNotes() { + resetServiceWorkersPublicPath(); + const mrShowNode = document.querySelector('.merge-request'); // eslint-disable-next-line no-new new MergeRequest({ |