diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-10-06 15:36:15 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-10-11 11:02:55 -0500 |
commit | 03cd536b54b148eb59cabfa735c0ec6820fc2266 (patch) | |
tree | 3a872a59747df68a14fa432699c6dceafff40de0 /app/assets/javascripts/notes.js | |
parent | fe11c5fde7c0c748eb370f09715114fd5a7d8577 (diff) | |
download | gitlab-ce-03cd536b54b148eb59cabfa735c0ec6820fc2266.tar.gz |
Cleanup data-page attribute after each Karma test38871-cleanup-data-page-attribute-after-karma-test
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38871
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index cf7322ba1da..a40a6e29743 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -1257,7 +1257,7 @@ export default class Notes { } static checkMergeRequestStatus() { - if (getPagePath(1) === 'merge_requests') { + if (getPagePath(1) === 'merge_requests' && gl.mrWidget) { gl.mrWidget.checkStatus(); } } |