From 0d90be85ddd8b1af655f34c39ee4c454db629341 Mon Sep 17 00:00:00 2001 From: David Miller Date: Mon, 6 Mar 2017 11:21:55 -0500 Subject: [PATCH] dependency update --- gulpfile.js | 2 +- js/agency.js | 4 ++-- js/agency.min.js | 2 +- package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e25aa56..5939935 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -59,7 +59,7 @@ gulp.task('copy', function() { gulp.src(['node_modules/jquery/dist/jquery.js', 'node_modules/jquery/dist/jquery.min.js']) .pipe(gulp.dest('lib/jquery')) - gulp.src(['node_modules/tether/dist/js/tether.js', 'node_modules/tether/dist/js/tether.min.js']) + gulp.src(['node_modules/tether/dist/js/*.js']) .pipe(gulp.dest('lib/tether')) gulp.src([ diff --git a/js/agency.js b/js/agency.js index fb95e4d..c1b8019 100644 --- a/js/agency.js +++ b/js/agency.js @@ -19,8 +19,8 @@ }); // Closes the Responsive Menu on Menu Item Click - $('#navbarResponsive>ul>li>a').click(function() { - $('#navbarResponsive').collapse('hide'); + $('.navbar-collapse>ul>li>a').click(function() { + $('.navbar-collapse').collapse('hide'); }); // jQuery to collapse the navbar on scroll diff --git a/js/agency.min.js b/js/agency.min.js index 6c0edfe..bd6328b 100644 --- a/js/agency.min.js +++ b/js/agency.min.js @@ -3,4 +3,4 @@ * Copyright 2013-2017 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ -!function(a){"use strict";a("a.page-scroll").bind("click",function(n){var s=a(this);a("html, body").stop().animate({scrollTop:a(s.attr("href")).offset().top-54},1250,"easeInOutExpo"),n.preventDefault()}),a("body").scrollspy({target:"#mainNav",offset:54}),a("#navbarResponsive>ul>li>a").click(function(){a("#navbarResponsive").collapse("hide")}),a(window).scroll(function(){a("#mainNav").offset().top>100?a("#mainNav").addClass("navbar-shrink"):a("#mainNav").removeClass("navbar-shrink")})}(jQuery); \ No newline at end of file +!function(a){"use strict";a("a.page-scroll").bind("click",function(n){var o=a(this);a("html, body").stop().animate({scrollTop:a(o.attr("href")).offset().top-54},1250,"easeInOutExpo"),n.preventDefault()}),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); \ No newline at end of file diff --git a/package.json b/package.json index 2ca45e7..15226c5 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "gulp-rename": "^1.2.2", "gulp-sass": "^2.3.2", "gulp-uglify": "^1.5.4", - "jquery": "^3.0.0", - "tether": "^1.3.8" + "jquery": "^3.1.1", + "tether": "^1.4.0" }, "repository": { "type": "git",