diff --git a/js/liteaccordion.jquery.js b/js/liteaccordion.jquery.js index c008411..5549d1b 100644 --- a/js/liteaccordion.jquery.js +++ b/js/liteaccordion.jquery.js @@ -248,6 +248,9 @@ return window.location.hash = '#' + tab.parent.attr('data-slide-name'); } } + + if (core.currentSlide == tab.index) + return; // update core.currentSlide core.currentSlide = tab.index; @@ -417,4 +420,4 @@ } }; -})(jQuery); \ No newline at end of file +})(jQuery);