Skip to content

Commit

Permalink
just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
tenoriojuann committed May 2, 2017
1 parent 2acbb31 commit 75216b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/receipt.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function send(){

var shipping = JSON.parse(localStorage.getItem('shipping'));

if(!shipping || (shipping.length <= 0) ) {
if(shipping == null || (shipping.length <= 0) ) {
shipping = JSON.parse(localStorage.getItem('billing'));
var name = JSON.parse(localStorage.getItem('name'));

Expand Down

0 comments on commit 75216b8

Please sign in to comment.