Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(tab): fix event handler call #5738

Closed
wants to merge 1 commit into from
Closed

Conversation

icfantv
Copy link
Contributor

@icfantv icfantv commented Apr 4, 2016

  • switch event handler call to look at event.isDefaultPrevented() instead of
    event.defaultPrevented as angular has implemented that method on jqlite
    events.

Fixes #5720

* switch event handler call to look at `event.isDefaultPrevented()` instead of
  `event.defaultPrevented` as angular has implemented that method on jqlite
  events.

Fixes angular-ui#5720
@wesleycho
Copy link
Contributor

LGTM

@deeg
Copy link
Contributor

deeg commented Apr 4, 2016

Did this not need an associated test change?

@wesleycho wesleycho added this to the 1.3.0 milestone Apr 4, 2016
@icfantv icfantv closed this in d767afb Apr 4, 2016
@icfantv
Copy link
Contributor Author

icfantv commented Apr 4, 2016

@deeg the test was already in there from the original fix applied for this issue from last week. the issue is that we don't have separate karma files for testing with and without jquery. i opened an issue to track that. also see the thread in our slack for more details.

@icfantv icfantv deleted the tab_5720a branch April 4, 2016 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants