From 6d71b12ed61d19f8b6f25dfe93c37dc57b528f91 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 14 Jul 2019 15:57:59 +0200 Subject: credit card view id. more aria labelling --- StoneIsland/www/js/lib/nav/AddressView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/nav/AddressView.js') diff --git a/StoneIsland/www/js/lib/nav/AddressView.js b/StoneIsland/www/js/lib/nav/AddressView.js index 66b80f65..fd0fa59d 100755 --- a/StoneIsland/www/js/lib/nav/AddressView.js +++ b/StoneIsland/www/js/lib/nav/AddressView.js @@ -1,5 +1,5 @@ -var AddressID = Math.round(Date.now() % 1000) +var AddressViewID = Math.round(Date.now() % 1000) var AddressView = SerializableView.extend({ @@ -16,7 +16,7 @@ var AddressView = SerializableView.extend({ this.parent = opt.parent this.checkPhone = 'checkPhone' in opt ? opt.checkPhone : true this.setElement( this.parent.$(".address") ) - this.$el.html(this.template.replace(/{{_id}}/g, AddressID++)) + this.$el.html(this.template.replace(/{{_id}}/g, AddressViewID++)) }, populate: function(data){ -- cgit v1.2.3-70-g09d2