diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-01 15:13:20 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-01 15:13:20 +0100 |
commit | b59ee573dfcd5cf19ef6c517e1b7a9ad30bbffcc (patch) | |
tree | e7dc716aa5c4391fb0d55810d47cf0e0b1973a4f /server/sonar-web/src/main/js/apps/dashboard | |
parent | 7a5770ca5de434a1ab75a22fc4ad3e3943f83808 (diff) | |
download | sonarqube-b59ee573dfcd5cf19ef6c517e1b7a9ad30bbffcc.tar.gz sonarqube-b59ee573dfcd5cf19ef6c517e1b7a9ad30bbffcc.zip |
improve display of project navigation
Diffstat (limited to 'server/sonar-web/src/main/js/apps/dashboard')
-rw-r--r-- | server/sonar-web/src/main/js/apps/dashboard/app.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/server/sonar-web/src/main/js/apps/dashboard/app.js b/server/sonar-web/src/main/js/apps/dashboard/app.js index 4b700eb26c9..9f045a948b2 100644 --- a/server/sonar-web/src/main/js/apps/dashboard/app.js +++ b/server/sonar-web/src/main/js/apps/dashboard/app.js @@ -136,18 +136,3 @@ window.autoResize = function (everyMs, callback) { var debounce = _.debounce(callback, everyMs); $(window).on('resize', debounce); }; - - -$(function () { - var $sidebar = $('#sidebar'); - if ($sidebar.length > 0) { - var $window = $(window), - topOffset = $sidebar.offset().top; - $window.on('scroll', function () { - var scrollTop = $window.scrollTop(), - scrollLeft = $window.scrollLeft(); - $sidebar.toggleClass('sticky', scrollTop > topOffset); - $sidebar.css('left', -scrollLeft + 10); - }); - } -}); |