summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-08 10:59:59 +0100
committerPhil Hughes <me@iamphill.com>2017-09-13 14:30:31 +0100
commit577d3fffaea05804db401736ea90b6b0436a9cde (patch)
treef489084edf64b599b33bc2e72f5b7933dfa383a4 /app/assets
parent7bd66b7612dde47a85ca19d478fdd32810eb55de (diff)
downloadgitlab-ce-577d3fffaea05804db401736ea90b6b0436a9cde.tar.gz
Remove title attribute from sidebar elements
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/new_sidebar.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/assets/javascripts/new_sidebar.js b/app/assets/javascripts/new_sidebar.js
index cea4f35096a..f2eb2338a1e 100644
--- a/app/assets/javascripts/new_sidebar.js
+++ b/app/assets/javascripts/new_sidebar.js
@@ -15,7 +15,6 @@ export default class NewNavSidebar {
this.$openSidebar = $('.toggle-mobile-nav');
this.$closeSidebar = $('.close-nav-button');
this.$sidebarToggle = $('.js-toggle-sidebar');
- this.$topLevelLinks = $('.sidebar-top-level-items > li > a');
}
bindEvents() {
@@ -56,10 +55,6 @@ export default class NewNavSidebar {
this.$page.toggleClass('page-with-icon-sidebar', breakpoint === 'sm' ? true : collapsed);
}
NewNavSidebar.setCollapsedCookie(collapsed);
-
- this.$topLevelLinks.attr('title', function updateTopLevelTitle() {
- return collapsed ? this.getAttribute('aria-label') : '';
- });
}
render() {