diff options
author | Phil Hughes <me@iamphill.com> | 2017-08-18 07:34:26 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-18 07:34:26 +0000 |
commit | 45c8c17e8034c7a284811caf75029a5809170a77 (patch) | |
tree | 8a21274f1eee1ded866b4196e719615636f734bb /app/assets/javascripts/dispatcher.js | |
parent | 8fadba44f4b0c686e79d32fe196ab0abe33d3df2 (diff) | |
parent | 53a7fde9318621c287888974980a87401392cba4 (diff) | |
download | gitlab-ce-45c8c17e8034c7a284811caf75029a5809170a77.tar.gz |
Merge branch 'rename-repo-enabled' into 'master'
Updates for proper obj notation.
See merge request !13430
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index a0ed5c23ffe..2bba7f55de1 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -414,7 +414,7 @@ import initChangesDropdown from './init_changes_dropdown'; case 'projects:tree:show': shortcut_handler = new ShortcutsNavigation(); - if (UserFeatureHelper.isNewRepo()) break; + if (UserFeatureHelper.isNewRepoEnabled()) break; new TreeView(); new BlobViewer(); @@ -434,7 +434,7 @@ import initChangesDropdown from './init_changes_dropdown'; shortcut_handler = true; break; case 'projects:blob:show': - if (UserFeatureHelper.isNewRepo()) break; + if (UserFeatureHelper.isNewRepoEnabled()) break; new BlobViewer(); initBlob(); break; |