Answer the question
In order to leave comments, you need to log in
What's wrong with the element?
This design: button(ng-click=function1) > div > span (ng-click=function2)
In Google Chrome, ie, safari works fine, if you click in the span, it will work function1, then function2
When I run it in mozilla, then when click in span works only function1
For those who are not understanding:
<button class="btn" ng-click="switch(el.id)">
<div class="tools">
<span href="" class="edit" ng-click="edit(el)"></span>
<span href="" class="delete" ng-click="delete(el)"></span>
</div>
</button>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question