Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _bindShowLess = function () {
- var _showLess = _sectorPageStrengths.find('.view-all-sectors-btn.less');
- _showLess.on('click', function () {
- var sliders = [].slice.call(document.getElementsByClassName("sectorpage-strengths"));
- sliders.forEach(function (element, index){
- element.addEventListener("click", function(){
- console.log("array" +index + "!");
- });
- });
- $('html, body').animate({
- scrollTop: _sectorPageStrengths.offset().top
- }, 700);
- });
- };
Add Comment
Please, Sign In to add comment