1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-22 23:38:48 -05:00

Use ng-click in mail-list instead of wo-touch

This commit is contained in:
Tankred Hase 2014-07-23 18:30:13 +02:00
parent 845af9b127
commit ad22d42720

View File

@ -18,7 +18,7 @@
<ul class="mail-list" infinite-scroll="displayMore()"
infinite-scroll-distance="1" infinite-scroll-parent="true">
<li ng-class="{'mail-list-active': email === state.mailList.selected}"
wo-touch="select(email)"
ng-click="select(email)"
ng-repeat="email in displayMessages">
<h3>{{email.from[0].name || email.from[0].address}}</h3>
<div class="encrypted" data-icon="{{email.encrypted && email.decrypted ? '&#xe012;' : email.encrypted ? '&#xe009;' : ''}}"></div>