summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-03-04 23:27:40 +0100
committerJules Laplace <jules@okfoc.us>2016-03-05 01:42:49 +0100
commitf32930fac442c7948132844a9648879fbd62bab2 (patch)
treecc5e7cc2f75a6109f2b7fbf9e77cd65a2d66fdbc /StoneIsland/platforms/ios/www/js
parent08c203b4dc4b9fdacd9aa0f2f2074dbd7d431a80 (diff)
make cart button easier to click
Diffstat (limited to 'StoneIsland/platforms/ios/www/js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/index.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js3
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js2
3 files changed, 6 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js
index cf0116d4..63059c26 100755
--- a/StoneIsland/platforms/ios/www/js/index.js
+++ b/StoneIsland/platforms/ios/www/js/index.js
@@ -72,6 +72,8 @@ var app = (function(){
document.addEventListener('offline', app.offline, false)
cordova.plugins.Keyboard.disableScroll(true)
geo.fetch()
+ var image = new Image
+ image.src = "/img/compass-logo.png"
}
app.view = null
diff --git a/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js b/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
index 01887d95..c3156265 100755
--- a/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
+++ b/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
@@ -170,6 +170,9 @@ var CartSummary = ScrollableView.extend({
remove_item: function(e){
var $el = $( e.currentTarget ).closest(".cart_item_row")
var data = $el.data()
+
+ console.log("REMOVE FROM CART")
+ console.log(data.size + " " + data.code)
console.log(this.data.Cart)
diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js b/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js
index 73fe106d..91089d27 100755
--- a/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js
@@ -5,7 +5,7 @@ var HeaderView = View.extend({
events: {
"click .burger": "nav",
"click .logo": "logo",
- "click .cart": "cart",
+ "click .cart_rapper": "cart",
},
initialize: function(){