瀏覽代碼

fixed

master
Pascal Gloor 5 年之前
父節點
當前提交
efaaa9500c
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      www/js/autodoc.js

+ 5
- 5
www/js/autodoc.js 查看文件

@@ -70,12 +70,12 @@ $(document).ready(function () {

$('.autodoc_tag_color').click(function(e) {
$(e.target).parent().children().children().removeClass('fa-check')
$(e.target).parent().children().children().addClass('fa-times')
$(e.target).children().removeClass('fa-times')
$(e.target).children().addClass('fa-check')
$(e.target).parent().parent().children().children().removeClass('fa-check')
$(e.target).parent().parent().children().children().addClass('fa-times')
$(e.target).removeClass('fa-times')
$(e.target).addClass('fa-check')
$(e.target).parent().children().each(function(id, x) {
$(e.target).parent().parent().children().each(function(id, x) {
console.log(x);
console.log($(x).attr('data'));
$("#autodoc_tag_result").removeClass("badge-" + $(x).attr('data'));

Loading…
取消
儲存