X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/f72b9230d9bb36b1bd752df22ef9a25136b972d1..0ea3cdb937d3d53c38b2e1c4b3a3205560e537cb:/forum/skins/default/templates/question.html?ds=inline diff --git a/forum/skins/default/templates/question.html b/forum/skins/default/templates/question.html index 47e654a..1f30f7c 100644 --- a/forum/skins/default/templates/question.html +++ b/forum/skins/default/templates/question.html @@ -3,6 +3,7 @@ {% load node_tags %} {% load extra_tags %} {% load extra_filters %} +{% load general_sidebar_tags %} {% load smart_if %} {% load humanize %} {% load i18n %} @@ -22,7 +23,10 @@ $().ready(function(){ $("#nav_questions").attr('className',"on"); var answer_sort_tab = "{{ tab_id }}"; - $("#" + answer_sort_tab).attr('className',"on"); + + if (answer_sort_tab) { + $("#" + answer_sort_tab).attr('className',"on"); + } $('#editor').TextAreaResizer(); @@ -234,6 +238,7 @@
@@ -257,6 +262,7 @@