Browse Source

Auto close Navbar when click on menu on mobile

pull/140/head
divinerites 4 years ago
parent
commit
b1beba5a03
No account linked to committer's email address
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      assets/js/script.js

+ 6
- 1
assets/js/script.js View File

@@ -6,6 +6,11 @@ $(window).on('load', function () {
$('.preloader').fadeOut(100);
});

// Auto close Navbar when click on link
$('.navbar-collapse a').click(function(){
$(".navbar-collapse").collapse('hide');
});

jQuery(function ($) {
"use strict";

@@ -133,4 +138,4 @@ jQuery(function ($) {
counter();
});

});
});

Loading…
Cancel
Save