From a30fdaeffad9690b82a74cdfbddda66dcaf71f61 Mon Sep 17 00:00:00 2001 From: pero1203 Date: Wed, 28 Jul 2021 11:46:33 +0200 Subject: [PATCH] Jquery selectbox ima klikabilno celotno polje in ne samo puscice --- .../jquery/jquery.selectbox-0.6.1/jquery.selectbox-0.6.1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/survey/script/jquery/jquery.selectbox-0.6.1/jquery.selectbox-0.6.1.js b/admin/survey/script/jquery/jquery.selectbox-0.6.1/jquery.selectbox-0.6.1.js index 33fa5c9ac..29fe2b46e 100644 --- a/admin/survey/script/jquery/jquery.selectbox-0.6.1/jquery.selectbox-0.6.1.js +++ b/admin/survey/script/jquery/jquery.selectbox-0.6.1/jquery.selectbox-0.6.1.js @@ -159,7 +159,7 @@ jQuery.fn.selectbox = function(options){ jQuery('.'+settings.className + '-currentItem', replacement).text(v.text()); } }); - replacement.find('.' + settings.className + '-moreButton').click(function(){ + replacement.find('.'+settings.className+'-moreButton, .'+settings.className+'-currentItem').click(function(){ var thisMoreButton = jQuery(this); var otherLists = jQuery('.' + settings.className + '-list') .not(thisMoreButton.siblings('.' + settings.className + '-list'));