We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fff59c commit 2aa7f4dCopy full SHA for 2aa7f4d
src/stateDirectives.js
@@ -87,7 +87,7 @@ function $StateRefDirective($state, $timeout) {
87
var ref = parseStateRef(attrs.uiSref, $state.current.name);
88
var params = null, url = null, base = stateContext(element) || $state.$current;
89
// SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.
90
- var hrefKind = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?
+ var hrefKind = Object.prototype.toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?
91
'xlink:href' : 'href';
92
var newHref = null, isAnchor = element.prop("tagName").toUpperCase() === "A";
93
var isForm = element[0].nodeName === "FORM";
0 commit comments