cursor: pointer only for links w/ href

This commit is contained in:
Adam Bradley
2014-02-20 13:55:14 -06:00
parent 2116853d93
commit e199aa8b7a
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@
option-buttons="optionButtons1">
<!-- shows that the item directive does not need attributes and can get values from the list attributes -->
<ion-item ion-item="item" ng-click="itemClick()" class="item-message" ng-repeat="item in items" ng-class="{ active: item.isActive}">
<ion-item ion-item="item" ng-href="#" ng-click="itemClick()" class="item-message" ng-repeat="item in items" ng-class="{ active: item.isActive}">
<img ng-src="{{item.face}}">
<h2>{{item.from}}</h2>
<p>{{item.text}}</p>

View File

@@ -14,7 +14,7 @@ a {
-webkit-user-drag: none;
-webkit-tap-highlight-color: transparent;
&:hover {
&[href]:hover {
cursor: pointer;
}
}