Skip to content

Commit

Permalink
fix(ui): Show shadow on layer selector scroll
Browse files Browse the repository at this point in the history
Layer selector was not showing shadow effect when scrolling.
  • Loading branch information
Spencer Wahl committed May 22, 2015
1 parent 9a7099e commit b03bd6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/js/RAMP/Modules/filterManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,8 @@ define([
*/
function initScrollListeners() {
var globalToggleSection = layerToggles.globalToggleSection();

layerList.scroll(function () {
var currentScroll = layerList.scrollTop();
mainList.scroll(function () {
var currentScroll = mainList.scrollTop();
if (currentScroll === 0) {
globalToggleSection.removeClass("scroll");
} else {
Expand Down

0 comments on commit b03bd6a

Please sign in to comment.