Optimize svg template (href attribute)
parent
66b4e4971f
commit
ff1e7d9fac
|
@ -372,7 +372,7 @@ module.directive("tgLightboxClose", [LightboxClose])
|
|||
Svg = () ->
|
||||
template = """
|
||||
<svg class="{{ 'icon ' + svgIcon }}" style="fill: {{ svgFill }}">
|
||||
<use xlink:href="" ng-attr-xlink:href="{{ '#' + svgIcon }}">
|
||||
<use xlink:href="" ng-attr-xlink:href="{{ '#' + svgIcon }}" href="{{ '#' + svgIcon }}">
|
||||
<title ng-if="svgTitle">{{svgTitle}}</title>
|
||||
<title ng-if="svgTitleTranslate">{{svgTitleTranslate | translate: svgTitleTranslateValues}}</title>
|
||||
</use>
|
||||
|
|
Loading…
Reference in New Issue