X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/f72b9230d9bb36b1bd752df22ef9a25136b972d1..ab6a501f08eb3751c87398a87711c4072709407a:/forum/skins/default/templates/question.html 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 @@