diff options
| author | Caitlin Potter | 2013-12-18 17:12:02 -0500 |
|---|---|---|
| committer | Igor Minar | 2013-12-18 17:16:39 -0800 |
| commit | bc3ff2cecd0861766a9e8606f3cc2c582d9875df (patch) | |
| tree | 4155ddfca3e881c59463d763e13f4607098557f1 /src/Angular.js | |
| parent | 8f329ffb829410e1fd8f86a766929134e736e3e5 (diff) | |
| download | angular.js-bc3ff2cecd0861766a9e8606f3cc2c582d9875df.tar.bz2 | |
fix($location): parse xlink:href for SVGAElements
Before this fix, the xlink:href property of an SVG <a> element could not be parsed
on click, as the property is an SVGAnimatedString rather than a DOMString.
This patch parses the xlink:href's animVal into a DOMString in order to prevent
an `Object #<SVGAnimatedString> has no method 'indexOf'` exception from being thrown,
and also to update the location if necessary as expected.
Closes #5472
Closes #5198
Closes #5199
Closes #4098
Closes #1420
Diffstat (limited to 'src/Angular.js')
0 files changed, 0 insertions, 0 deletions
