diff --git a/public/js/site.js b/public/js/site.js index 68f6991..ef22a2c 100644 --- a/public/js/site.js +++ b/public/js/site.js @@ -31,6 +31,12 @@ $(document).ready(function() { $("#img-hover").remove(); }); + // Image hover on click + $(".js-img-hover").click(function() { + var url = $(this).data("img-hover"); + window.open(url, '_blank'); + }); + // Lazy load video's $(window).on('resize scroll', function() { $('.js-video').each(function(index) {