summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/layout_nav.js
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-20 16:14:55 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-20 16:14:55 -0700
commit58af2647dc6a5bd7805e703a32fe45190d62c7d3 (patch)
tree4bd52c699a8fed36e2502ca94ce7246d447e03ca /app/assets/javascripts/layout_nav.js
parent33380f811e85b71f95a18e4a200b0cf09d452928 (diff)
downloadgitlab-ce-58af2647dc6a5bd7805e703a32fe45190d62c7d3.tar.gz
Rename new_sidebar in JSremove-new-sidebar-stuff
Diffstat (limited to 'app/assets/javascripts/layout_nav.js')
-rw-r--r--app/assets/javascripts/layout_nav.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/layout_nav.js b/app/assets/javascripts/layout_nav.js
index d064a2c0024..a6f82b247e2 100644
--- a/app/assets/javascripts/layout_nav.js
+++ b/app/assets/javascripts/layout_nav.js
@@ -1,7 +1,7 @@
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-arrow-callback, no-unused-vars, one-var, one-var-declaration-per-line, vars-on-top, max-len */
import _ from 'underscore';
import Cookies from 'js-cookie';
-import NewNavSidebar from './new_sidebar';
+import ContextualSidebar from './contextual_sidebar';
import initFlyOutNav from './fly_out_nav';
(function() {
@@ -51,8 +51,8 @@ import initFlyOutNav from './fly_out_nav';
});
$(() => {
- const newNavSidebar = new NewNavSidebar();
- newNavSidebar.bindEvents();
+ const contextualSidebar = new ContextualSidebar();
+ contextualSidebar.bindEvents();
initFlyOutNav();
});