From 04afd774aecc70dca37559fdd8b9a716829c18cd Mon Sep 17 00:00:00 2001
From: Roberto Sánchez <roberto.sanchez@curisit.net>
Date: Fri, 17 Jan 2014 12:27:16 +0000
Subject: [PATCH] #396 feature - Added LocalStorage support and http interceptor for unauthorized access
---
securis/src/main/resources/static/js/i18n.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/securis/src/main/resources/static/js/i18n.js b/securis/src/main/resources/static/js/i18n.js
index c895497..be4eed6 100644
--- a/securis/src/main/resources/static/js/i18n.js
+++ b/securis/src/main/resources/static/js/i18n.js
@@ -72,7 +72,7 @@
restrict : 'A', // only activate on element attribute
require : '',
link : function(scope, element, attrs) {
- var txt = attrs.i18n || element[0].innerText;
+ var txt = attrs.i18n || element.text();
element.text($L.get(txt));
}
};
--
Gitblit v1.3.2