diff options
author | Phil Hughes <me@iamphill.com> | 2017-12-11 12:28:11 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-11 12:28:11 +0000 |
commit | 6bb4442054a3804224f84c63fa7c5657508c4ec6 (patch) | |
tree | 87e7806344b74e7954e7284c045a1789873f7280 /app/assets/javascripts/merge_request_tabs.js | |
parent | a5d2732ce91e24fbb7ea8c9b087ba3c7476edc09 (diff) | |
download | gitlab-ce-6bb4442054a3804224f84c63fa7c5657508c4ec6.tar.gz |
updated importsurl-utility-es-module
Diffstat (limited to 'app/assets/javascripts/merge_request_tabs.js')
-rw-r--r-- | app/assets/javascripts/merge_request_tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/merge_request_tabs.js b/app/assets/javascripts/merge_request_tabs.js index 54f4e33437d..589e65647ac 100644 --- a/app/assets/javascripts/merge_request_tabs.js +++ b/app/assets/javascripts/merge_request_tabs.js @@ -11,7 +11,7 @@ import { handleLocationHash, isMetaClick, } from './lib/utils/common_utils'; -import * as urlUtils from './lib/utils/url_utility'; +import { getLocationHash } from './lib/utils/url_utility'; import initDiscussionTab from './image_diff/init_discussion_tab'; import Diff from './diff'; @@ -318,7 +318,7 @@ import Diff from './diff'; // Scroll any linked note into view // Similar to `toggler_behavior` in the discussion tab - const hash = urlUtils.getLocationHash(); + const hash = getLocationHash(); const anchor = hash && $container.find(`.note[id="${hash}"]`); if (anchor && anchor.length > 0) { const notesContent = anchor.closest('.notes_content'); |