when clicking tab very fast two tab's got selected #33

Open
velanchandru opened this Issue Aug 1, 2013 · 1 comment

Comments

Projects
None yet
2 participants

When try to click the tabs very fast two tabs got Selected i tried this way but no luck any one experienced this... and also tried .on /.off events no luck

$($this.steps).bind("click", function (e) {

$($this.steps).unbind("click");

        if ($this.steps.index(this) == $this.curStepIdx) {

            return false;
        }

        var nextStepIdx = $this.steps.index(this);
        var isDone = $this.steps.eq(nextStepIdx).attr("isDone") - 0;
        if (isDone == 1) {
            _loadContent($this, nextStepIdx);


        }


        $($this.steps).bind("click");
        return false;
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment