From 2630bbb9e3089b01a5778f6a295a9f8f493d2a32 Mon Sep 17 00:00:00 2001 From: Ben Dunkle Date: Tue, 12 Dec 2017 11:44:57 -0500 Subject: [PATCH] updated function names, trying to get modal images to shrinkwrap --- shrinkwrap_images.js | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/shrinkwrap_images.js b/shrinkwrap_images.js index 2da5b0b..db3ac70 100644 --- a/shrinkwrap_images.js +++ b/shrinkwrap_images.js @@ -8,9 +8,27 @@ var gifpath = ''; var eol_si_img = function() { jQuery("img").wrap('
'); jQuery("img").after(gifpath); + +}; + +var eol_si_test = function() { + alert("yes"); }; + + + // Run shrinkwrap on doc load -jQuery(document).ready(function() { +jQuery(document).on('load', function() { eol_si_img(); -}); \ No newline at end of file + + jQuery(document).on('ready', '#swipebox-slider', function(){ + alert("yes"); +}); + +}); + + + + +