aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-19 12:54:39 -0700
committerMisko Hevery2010-04-19 12:54:39 -0700
commit8e1b670d5b262f70fdbf4c4b01d3109d54a12ac5 (patch)
tree0e544718aeb3c2d460e4e7ede533b62ffcccac17 /src/jqLite.js
parent8394353b8580eadb9502abbcc963b594c9d9f53f (diff)
downloadangular.js-8e1b670d5b262f70fdbf4c4b01d3109d54a12ac5.tar.bz2
fix ie bug with .text() on jqlite
Diffstat (limited to 'src/jqLite.js')
-rw-r--r--src/jqLite.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jqLite.js b/src/jqLite.js
index 92bc22a7..67e1717c 100644
--- a/src/jqLite.js
+++ b/src/jqLite.js
@@ -191,9 +191,9 @@ JQLite.prototype = {
text: function(value) {
if (isDefined(value)) {
- this[0].textContent = value;
+ this[0].nodeValue = value;
}
- return this[0].textContent;
+ return this[0].nodeValue;
},
val: function(value) {