Fix js include

This commit is contained in:
Hanzei 2018-07-13 11:19:48 +02:00
parent 54dad64137
commit 618fe065fe
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0
16 changed files with 16 additions and 16 deletions

View file

@ -23,7 +23,7 @@ $(document).keypress(function(e) {
}
});
{{ if .Site.Params.localTime }}
{{ if and .Site.Params.localTime .Page.IsHome }}
$(document).ready(function() {
var time = moment().tz("{{ .Site.Params.timeZone }}").format("h:mm A");
$('#time').html(time);

View file

@ -1 +1 @@
{"Target":"js/bundle.7f755d2100d3644477de868b71a7459a39f18db99d221d93d66d34e427cade7d.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3VdIQDTZER33oaLcadFmjnxjbmdIh2T1m005CfK3n0="}}
{"Target":"js/bundle.1234609e6363cb2247099ce4cc4701ab8e722de386b18674fc5d19941697d812.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-EjRgnmNjyyJHCZzkzEcBq45yLeOGsYZ0/F0ZlBaX2BI="}}

View file

@ -1 +1 @@
{"Target":"js/bundleMoment.7f7a4bcb42a8af7ae80dcdc33a09305caa9f980d48eae96d4c70aa7fd7d30fc1.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3pLy0Kor3roDc3DOgkwXKqfmA1I6ultTHCqf9fTD8E="}}
{"Target":"js/bundleMoment.c0c2eddd62b0f9719cad4bf88dc2cf9a1b24cb979da336a28e71733aec00a9b2.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-wMLt3WKw+XGcrUv4jcLPmhsky5edozaijnFzOuwAqbI="}}

View file

@ -1,2 +1,2 @@
$('a[href^="#"]').click(function(e){e.preventDefault();$('html, body').animate({scrollTop:$(this.hash).offset().top},500);$("#nav-menu").removeClass("is-active");return true;})
$('.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');}});$(document).ready(function(){var time=moment().tz("America/Los_Angeles").format("h:mm A");$('#time').html(time);})
$('.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');}});

View file

@ -1 +1 @@
{"Target":"js/bundle.7f755d2100d3644477de868b71a7459a39f18db99d221d93d66d34e427cade7d.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3VdIQDTZER33oaLcadFmjnxjbmdIh2T1m005CfK3n0="}}
{"Target":"js/bundle.1234609e6363cb2247099ce4cc4701ab8e722de386b18674fc5d19941697d812.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-EjRgnmNjyyJHCZzkzEcBq45yLeOGsYZ0/F0ZlBaX2BI="}}

View file

@ -1 +1 @@
{"Target":"js/bundleMoment.7f7a4bcb42a8af7ae80dcdc33a09305caa9f980d48eae96d4c70aa7fd7d30fc1.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3pLy0Kor3roDc3DOgkwXKqfmA1I6ultTHCqf9fTD8E="}}
{"Target":"js/bundleMoment.c0c2eddd62b0f9719cad4bf88dc2cf9a1b24cb979da336a28e71733aec00a9b2.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-wMLt3WKw+XGcrUv4jcLPmhsky5edozaijnFzOuwAqbI="}}

View file

@ -1,2 +1,2 @@
$('a[href^="#"]').click(function(e){e.preventDefault();$('html, body').animate({scrollTop:$(this.hash).offset().top},500);$("#nav-menu").removeClass("is-active");return true;})
$('.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');}});$(document).ready(function(){var time=moment().tz("America/Los_Angeles").format("h:mm A");$('#time').html(time);})
$('.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');}});

View file

@ -1 +1 @@
{"Target":"js/bundle.7f755d2100d3644477de868b71a7459a39f18db99d221d93d66d34e427cade7d.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3VdIQDTZER33oaLcadFmjnxjbmdIh2T1m005CfK3n0="}}
{"Target":"js/bundle.1234609e6363cb2247099ce4cc4701ab8e722de386b18674fc5d19941697d812.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-EjRgnmNjyyJHCZzkzEcBq45yLeOGsYZ0/F0ZlBaX2BI="}}

View file

@ -1 +1 @@
{"Target":"js/bundleMoment.7f7a4bcb42a8af7ae80dcdc33a09305caa9f980d48eae96d4c70aa7fd7d30fc1.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3pLy0Kor3roDc3DOgkwXKqfmA1I6ultTHCqf9fTD8E="}}
{"Target":"js/bundleMoment.c0c2eddd62b0f9719cad4bf88dc2cf9a1b24cb979da336a28e71733aec00a9b2.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-wMLt3WKw+XGcrUv4jcLPmhsky5edozaijnFzOuwAqbI="}}

View file

@ -1,2 +1,2 @@
$('a[href^="#"]').click(function(e){e.preventDefault();$('html, body').animate({scrollTop:$(this.hash).offset().top},500);$("#nav-menu").removeClass("is-active");return true;})
$('.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');}});$(document).ready(function(){var time=moment().tz("America/Los_Angeles").format("h:mm A");$('#time').html(time);})
$('.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');}});