|
|
@@ -75,22 +75,22 @@ $(document).ready(function () { |
|
|
|
btn = $(btn).parent(); |
|
|
|
} |
|
|
|
|
|
|
|
$(e.target).parent().children().removeClass('active'); |
|
|
|
$(e.target).addClass('active'); |
|
|
|
$(btn).parent().children().removeClass('active'); |
|
|
|
$(btn).addClass('active'); |
|
|
|
|
|
|
|
$('.autodoc_tag_btn_on').addClass('d-none'); |
|
|
|
$('.autodoc_tag_btn_off').removeClass('d-none'); |
|
|
|
|
|
|
|
$(e.target).children('.autodoc_tag_btn_on').removeClass('d-none'); |
|
|
|
$(e.target).children('.autodoc_tag_btn_off').addClass('d-none'); |
|
|
|
$(btn).children('.autodoc_tag_btn_on').removeClass('d-none'); |
|
|
|
$(btn).children('.autodoc_tag_btn_off').addClass('d-none'); |
|
|
|
|
|
|
|
|
|
|
|
$(e.target).parent().children().each(function(id,x) { |
|
|
|
$(btn).parent().children().each(function(id,x) { |
|
|
|
var myclass = 'badge-' + $(x).attr('data').split('_').pop(); |
|
|
|
$('#autodoc_tag_result').removeClass(myclass); |
|
|
|
}); |
|
|
|
|
|
|
|
var myclass = 'badge-' + $(e.target).attr('data').split('_').pop(); |
|
|
|
var myclass = 'badge-' + $(btn).attr('data').split('_').pop(); |
|
|
|
$('#autodoc_tag_result').addClass(myclass); |
|
|
|
|
|
|
|
}); |