This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var cartTotal = 0, | |
cartQuantity = 0, | |
overlayPicture; | |
//initialize when scroll is 90% or over of the document height. | |
var Cart = { | |
init: function() { | |
$(window).scroll(function(){ | |
if ($(this).scrollTop() >= ($(document).height() - ($(this).height()))){ |