Skip to content

Commit

Permalink
Merge pull request RefugeRestrooms#471 from stardust66/fix-index-js
Browse files Browse the repository at this point in the history
Fix map not fading out after clicking 'List View'
  • Loading branch information
mi-wood authored and DeeDeeG committed Nov 3, 2018
2 parents 8ebc653 + e66f41e commit c99f330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/views/restrooms/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $(function(){
if (mapShow) {
mapToggle.html("Map View");
// animate
mapContainer.fadeIn(500, function() { list.fadeOut(500) });
mapContainer.fadeOut(500, function() { list.fadeIn(500) });
} else{
mapToggle.html("List View");
// animate
Expand Down

0 comments on commit c99f330

Please sign in to comment.