aboutsummaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorVojta Jina2012-06-16 13:04:40 -0700
committerVojta Jina2012-06-20 12:18:48 -0700
commit3da4194f98fa0c1ad1e5ab159719e4b25799e6d4 (patch)
tree8ee46d67bde82ddcb88c42ab765ae63435278aa2 /images
parentad5d2f2991ecfe1ec6152be71982b8980236c988 (diff)
downloadangular.js-3da4194f98fa0c1ad1e5ab159719e4b25799e6d4.tar.bz2
fix($location): url rewriting if element was removed
When user clicks a link, $location needs to intercept this event. The <a> doesn't have to be target element of the DOM event, so it needs to traverse the DOM, to find first <a> parent. If the target element was removed from DOM, during the same event, it would throw an exception. This fixes the issue. Closes #1058
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions