Merge branch 'feature/address' into 'develop'
修复 地址列表选择bug See merge request !14
Showing
2 changed files
with
2 additions
and
2 deletions
framework @ 75bbc3b0
@@ -139,7 +139,7 @@ $.get('/home/locationList').then(function(html) { | @@ -139,7 +139,7 @@ $.get('/home/locationList').then(function(html) { | ||
139 | addressHammer.on('tap', function(e) { | 139 | addressHammer.on('tap', function(e) { |
140 | var $this = $(e.target); | 140 | var $this = $(e.target); |
141 | 141 | ||
142 | - if (e.target.tagName !== 'li') { | 142 | + if (e.target.tagName.toLowerCase() !== 'li') { |
143 | $this = $this.parent('li'); | 143 | $this = $this.parent('li'); |
144 | } | 144 | } |
145 | newArea.push($this.children('.caption').text()); | 145 | newArea.push($this.children('.caption').text()); |
-
Please register or login to post a comment