Browse Source

better

master
Pascal Gloor 5 years ago
parent
commit
774b70da9f
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      www/js/autodoc.js

+ 5
- 1
www/js/autodoc.js View File

@@ -72,7 +72,11 @@ $(document).ready(function () {
$(e.target).parent().children().children().html('');
$(e.target).children().html(' X');

$(e.target).parent().children().attr('data').each(function(x) {
$("#autodoc_tag_result").removeClass("badge-" + x);
});
$("#autodoc_tag_result").addClass("badge-" + $(e.target).attr('data'));
return false;
})


Loading…
Cancel
Save