diff options
Diffstat (limited to 'assets/js/enterprise.js')
-rw-r--r-- | assets/js/enterprise.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assets/js/enterprise.js b/assets/js/enterprise.js index 5b19a46b..1630850a 100644 --- a/assets/js/enterprise.js +++ b/assets/js/enterprise.js @@ -4,7 +4,7 @@ $(document).ready(function() { init: function() { this.animationOnLoadPage(); - this.smothScroll(); + this.smoothScroll(); enquire.register('screen and (max-width: 480px)', { //match: _.bind(this.resultsBindMobile, this) @@ -26,8 +26,8 @@ $(document).ready(function() { $(this.variables.heroSectionBackgroundSelector).velocity('transition.fadeIn', 1000); }, - smothScroll: function() { - $('a[href*="#"]:not([href="#"])').click(function() { + smoothScroll: function() { + $('a[href*="#"]:not([href="#"]):not([data-toggle="collapse"]').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); @@ -57,4 +57,4 @@ $(document).ready(function() { } } enterprisePage.init(); -});
\ No newline at end of file +}); |