snapjay / ngCart

Really simple shopping cart for AngularJS
http://ngcart.snapjay.com
380 stars 236 forks source link

Reloads cart on window focus - fixes #54 #55

Closed atomworks closed 1 year ago

atomworks commented 8 years ago

This prevents cart content becoming desynchronised when shop used over multiple tabs. This is achieved by simply re-triggering the load from localStorage mechanism when you refocus a tab.

atomworks commented 1 year ago

As this is pretty old, I'll close it up. It's been a while so although I can't remember why, I'm sorry I couldn't follow through on this at the time.