Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-13 11:55:02 +0300
committerHanzei <hanzei@mailbox.org>2018-07-13 11:55:02 +0300
commit986d2493916ea31b492f220e743361bca6c3d737 (patch)
tree6d4d76dcb673905825443b003bea783cf6a07b45 /static/js/index.js
parentf5c0d492d3f7c7e4c1139cda12128ab9deae8eeb (diff)
Bundle assets
Update dependencies
Diffstat (limited to 'static/js/index.js')
-rw-r--r--static/js/index.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/static/js/index.js b/static/js/index.js
deleted file mode 100644
index 08ef756..0000000
--- a/static/js/index.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Bitty scrolling links script
-$('a[href^="#"]').click(function(e) {
- e.preventDefault();
- $('html, body').animate({
- scrollTop: $(this.hash).offset().top
- }, 500);
- $("#nav-menu").removeClass("is-active");
- return true;
-})
-
-// Modal closer
-$('.card').click(function () {
- $($(this).attr('data-target')).addClass('is-active');
- $("html").addClass("modal-open");
-});
-$('.modal-close').click(function () {
- $($(this).attr('data-target')).removeClass('is-active');
- $("html").removeClass("modal-open");
-});
-$(document).keypress(function(e) {
- if(e.which == 0) {
- $('.modal.is-active').removeClass('is-active');
- }
-});