diff --git a/nyaa/static/js/compat.js b/nyaa/static/js/compat.js new file mode 100644 index 0000000..22f2516 --- /dev/null +++ b/nyaa/static/js/compat.js @@ -0,0 +1,5 @@ +// Filter dropdown styling if JS is enabled +$(function() { + $("#navFilter-category, #navFilter-criteria").children("select").removeClass("form-control").addClass("selectpicker show-tick"); + } +); diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index a37009e..01afd67 100644 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -42,6 +42,7 @@ + @@ -263,7 +264,7 @@ {% endif %}