Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelhamel committed May 23, 2017
1 parent 8bc6068 commit 1bbdb14
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions js/speakers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,6 @@ document.addEventListener('DOMContentLoaded', function() {

var carouselButtons = document.querySelectorAll('.carousel-button');

// More info functionality
// for (var y = 0; y < dropdownButtons.length; y++) {
// var click = 0;
// dropdownButtons[y].addEventListener('click', () => {
// click += 1;
// if((click%2) !== 0) {
// dropdowns[y].classList.add('show');
// dropdowns[y].classList.remove('hide');
// links.style.marginTop= '100px';
// arrows[y].classList.add('up-arrow');
// arrows[y].classList.remove('down-arrow');
// } else {
// click = 0;
// dropdowns[y].classList.remove('show');
// dropdowns[y].classList.add('hide');
// links.style.marginTop = '0';
// arrows[y].classList.remove('up-arrow');
// arrows[y].classList.add('down-arrow');
// };
// });
// }

// Carousel functionality

// This array contains all speaker info. Cards are generated dynamically based on this.
Expand Down

0 comments on commit 1bbdb14

Please sign in to comment.