mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
304 stars 164 forks source link

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

Open velanchandru opened 11 years ago

velanchandru commented 11 years ago

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;
    });
garychapman commented 9 years ago

See https://github.com/mstratman/jQuery-Smart-Wizard/issues/53