Sha256: 6589d13c4a5155e0137212844d8527708cfc1a3a924013d49911cd2965bc6c10
Contents?: true
Size: 890 Bytes
Versions: 7
Compression:
Stored size: 890 Bytes
Contents
/*! * Start Bootstrap - New Age v4.0.0-alpha (http://startbootstrap.com/template-overviews/new-age) * Copyright 2013-2017 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-new-age/blob/master/LICENSE) */ !function(a){"use strict";a('a[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=a(this.hash);if(n=n.length?n:a("[name="+this.hash.slice(1)+"]"),n.length)return a("html, body").animate({scrollTop:n.offset().top-48},1e3,"easeInOutExpo"),!1}}),a("body").scrollspy({target:"#mainNav",offset:54}),a(".navbar-collapse>ul>li>a").click(function(){a(".navbar-collapse").collapse("hide")}),a(window).scroll(function(){a("#mainNav").offset().top>100?a("#mainNav").addClass("navbar-shrink"):a("#mainNav").removeClass("navbar-shrink")})}(jQuery);
Version data entries
7 entries across 7 versions & 2 rubygems