From a9279eae498aa404ca98946f7c28f6c16769524c Mon Sep 17 00:00:00 2001 From: Andrew Hayward Date: Wed, 5 Jun 2013 13:05:06 +0100 Subject: [PATCH] Fixing filter inputs Resolves #409 --- static/media/js/custom_logic.js | 3 -- views/filter.html | 50 +++++++++++++++++---------------- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/static/media/js/custom_logic.js b/static/media/js/custom_logic.js index fc245cd..57309d6 100644 --- a/static/media/js/custom_logic.js +++ b/static/media/js/custom_logic.js @@ -12,9 +12,6 @@ if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) mob var selectID = ($(this).attr('for')); var selectEle = $('#' + selectID); $('#' + selectID + ' option:first').text($(this).text()); - var selectWrap = $('
').append(this,selectEle); - $('.navbar.filter form').prepend(selectWrap); - }); } diff --git a/views/filter.html b/views/filter.html index 322d9d1..f7b48eb 100644 --- a/views/filter.html +++ b/views/filter.html @@ -6,30 +6,32 @@ {% if filters %} {% endif %}