summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-10 20:32:46 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-10 20:32:46 -0400
commit94d41167885a31f5f15fd506a650b5354c192aa4 (patch)
tree3a3f383d04d6ed140f14613a0b864d3c96dd837d /askbot/templates/question.html
parent846a70e20c5f7ef585e29e6514bf38990c60b1ad (diff)
downloadaskbot-94d41167885a31f5f15fd506a650b5354c192aa4.tar.gz
askbot-94d41167885a31f5f15fd506a650b5354c192aa4.tar.bz2
askbot-94d41167885a31f5f15fd506a650b5354c192aa4.zip
fixed some more IE8 issues
Diffstat (limited to 'askbot/templates/question.html')
-rw-r--r--askbot/templates/question.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/askbot/templates/question.html b/askbot/templates/question.html
index a8aef0a7..7e8d33ef 100644
--- a/askbot/templates/question.html
+++ b/askbot/templates/question.html
@@ -44,7 +44,12 @@
};
var getTextContent = function(node) {
- return node.innerText || node.textContent;
+ var text = node.innerText || node.textContent;
+ if (text === undefined) {
+ return '';
+ } else {
+ return text;
+ }
};
var hasAttribute = function(node, attrName) {