mirror of
https://github.com/openclassify/openclassify.git
synced 2026-03-10 02:05:27 -05:00
#1143 [Post ad] Selecting cats design and imp.
This commit is contained in:
parent
9a8b342c98
commit
8ae34a5162
@ -65,9 +65,7 @@ $(document).ready(function () {
|
||||
(function(){
|
||||
var ii = i;
|
||||
$('#cat' + i).on('change', function (i, e) {
|
||||
$(this).find('option.selected').removeClass('selected');
|
||||
let selectedOption = $(this).find('option:selected');
|
||||
selectedOption.addClass('selected');
|
||||
let divId = selectedOption.val();
|
||||
if (divId == 0) {
|
||||
filter.hideCats(ii + 1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user