Roberto Sánchez
2014-01-17 04afd774aecc70dca37559fdd8b9a716829c18cd
securis/src/main/resources/static/js/i18n.js
....@@ -72,7 +72,7 @@
7272 restrict : 'A', // only activate on element attribute
7373 require : '',
7474 link : function(scope, element, attrs) {
75
- var txt = attrs.i18n || element[0].innerText;
75
+ var txt = attrs.i18n || element.text();
7676 element.text($L.get(txt));
7777 }
7878 };