diff options
Diffstat (limited to 'askbot')
-rw-r--r-- | askbot/media/js/utils.js | 2 | ||||
-rw-r--r-- | askbot/templates/base.html | 1 | ||||
-rw-r--r-- | askbot/templates/question.html | 7 |
3 files changed, 8 insertions, 2 deletions
diff --git a/askbot/media/js/utils.js b/askbot/media/js/utils.js index 9d1e1c51..0380e6fe 100644 --- a/askbot/media/js/utils.js +++ b/askbot/media/js/utils.js @@ -1286,7 +1286,7 @@ FileUploadDialog.prototype.createDom = function() { upload_input.attr({ id: this._input_id, type: 'file', - name: 'file-upload', + name: 'file-upload' //size: 26??? }); form.append(upload_input); 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) { |