diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-10 20:32:46 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-10 20:32:46 -0400 |
commit | 94d41167885a31f5f15fd506a650b5354c192aa4 (patch) | |
tree | 3a3f383d04d6ed140f14613a0b864d3c96dd837d /askbot/templates | |
parent | 846a70e20c5f7ef585e29e6514bf38990c60b1ad (diff) | |
download | askbot-94d41167885a31f5f15fd506a650b5354c192aa4.tar.gz askbot-94d41167885a31f5f15fd506a650b5354c192aa4.tar.bz2 askbot-94d41167885a31f5f15fd506a650b5354c192aa4.zip |
fixed some more IE8 issues
Diffstat (limited to 'askbot/templates')
-rw-r--r-- | askbot/templates/base.html | 1 | ||||
-rw-r--r-- | askbot/templates/question.html | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/askbot/templates/base.html b/askbot/templates/base.html index a3bb2173..332fa093 100644 --- a/askbot/templates/base.html +++ b/askbot/templates/base.html @@ -4,6 +4,7 @@ <head> <title>{% block title %}{% endblock %} - {{ settings.APP_TITLE|escape }}</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=EDGE" /> {% block meta_description %} <meta name="description" content="{{settings.APP_DESCRIPTION|escape}}" /> {% endblock %} 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) { |