diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-05-17 05:27:47 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-05-17 05:28:31 -0400 |
commit | 7bd205c61c5d6359e82e3d031c55abe8934a76e4 (patch) | |
tree | 5143ed7d191720df66a5e4ae426a2534e6d87f0b /public/js/app.js | |
parent | c4f9cf22113bfab1d29017b0ff4cc069f9be21f5 (diff) | |
download | thedroneely.com-7bd205c61c5d6359e82e3d031c55abe8934a76e4.tar.gz thedroneely.com-7bd205c61c5d6359e82e3d031c55abe8934a76e4.tar.bz2 thedroneely.com-7bd205c61c5d6359e82e3d031c55abe8934a76e4.zip |
public/js/app: Use data attribute
Diffstat (limited to 'public/js/app.js')
-rw-r--r-- | public/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js index a09680d..a96c168 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -593,6 +593,6 @@ window.onscroll = function() { /** * Activate Medium Zoom */ -imageZoom = mediumZoom('[image-zoom]'); +imageZoom = mediumZoom('[data-image-zoom]'); imageZoom.on('open', function(event) { addClass(navbar, 'navbar__headroom'); }); imageZoom.on('close', function(event) { if (window.pageYOffset < navbarHeight) { remClass(navbar, 'navbar__headroom'); }; }); |