Last active
August 29, 2015 14:18
-
-
Save AndreyKopylov/9611ed5af82b40ba1960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var slide12 = false; | |
$multiChartsWrapSlide1.on('click', function () { | |
$multiCharts.addClass(multiChartSlideOneTwo, $multiCharts.hasClass(multiChartSlideOne)); | |
setTimeout(function () { | |
$multiCharts.addClass(multiChartSlideTwo); | |
}, 500); | |
$multiCharts.removeClass(multiChartSlideOne, $multiCharts.hasClass(multiChartSlideOneTwo)); | |
slide12 = true; | |
}); | |
$multiChartsWrapSlide1.on('click', function () { | |
if(!slide12) { | |
return false; | |
} | |
$multiCharts.addClass(multiChartSlideOneThree, $multiCharts.hasClass(multiChartSlideTwo)); | |
setTimeout(function () { | |
$multiCharts.addClass(multiChartSlideThree); | |
}, 500); | |
$multiCharts.removeClass(multiChartSlideOneTwo, $multiCharts.hasClass(multiChartSlideOneThree)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment