Browse Source

bug

master
Pascal Gloor 5 years ago
parent
commit
63cea7022b
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      www/index.html
  2. 2
    2
      www/js/autodoc.js

+ 2
- 2
www/index.html View File

<a href="#" class="autodoc_tag_color badge badge-dark">Dark<span></span></a> <a href="#" class="autodoc_tag_color badge badge-dark">Dark<span></span></a>
</td> </td>
<td> <td>
<span class="badge"></span>
<span id="autodoc_tag_result" class="badge"></span>
</td> </td>
<td> <td>
<button type="button" class="autodoc_tag_result btn btn-outline-primary">Add Tag</button>
<button type="button" class="btn btn-outline-primary">Add Tag</button>
</td> </td>
</tr> </tr>
</tbody> </tbody>

+ 2
- 2
www/js/autodoc.js View File

$(e.target).parent().children().children().html(''); $(e.target).parent().children().children().html('');
$(e.target).children().html(' X'); $(e.target).children().html(' X');
$('.autodoc_tag_result').attr('class', $(e.target).attr('class'));
$('#autodoc_tag_result').attr('class', $(e.target).attr('class'));
return false; return false;
}) })


$('.autodoc_tag_text').keypress(function(e) { $('.autodoc_tag_text').keypress(function(e) {
$('.autodoc_tag_result').html($(e.target).html());
$('#autodoc_tag_result').html($(e.target).html());
}); });
}); });



Loading…
Cancel
Save