From 3c1b9d1036f5332caebe10b52f1ffc808a6a43c5 Mon Sep 17 00:00:00 2001 From: binamkayastha Date: Mon, 11 Dec 2017 15:05:15 -0500 Subject: [PATCH] Fix parallax bug --- static/js/init.js | 3 +++ templates/footer.html | 3 ++- templates/header.html | 7 +------ templates/index.html | 1 - 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 static/js/init.js diff --git a/static/js/init.js b/static/js/init.js new file mode 100644 index 0000000..3c8f6a7 --- /dev/null +++ b/static/js/init.js @@ -0,0 +1,3 @@ +$(document).ready(function(){ + $('.parallax').parallax(); +}); \ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html index 08f5cd4..4ac04fe 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,6 +1,7 @@ - + + \ No newline at end of file diff --git a/templates/header.html b/templates/header.html index ace64ac..73db160 100644 --- a/templates/header.html +++ b/templates/header.html @@ -3,16 +3,12 @@ - - - Hack @ WPI - + - @@ -24,4 +20,3 @@ Major League Hacking 2018 Hackathon Season -{% include 'footer.html' %} diff --git a/templates/index.html b/templates/index.html index 151d1f5..9cf6efc 100755 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,4 @@ {% include 'header.html' %} -