| @@ -242,10 +242,10 @@ | |||
| <a href="#" class="autodoc_tag_color badge badge-dark">Dark<span></span></a> | |||
| </td> | |||
| <td> | |||
| <span class="badge"></span> | |||
| <span id="autodoc_tag_result" class="badge"></span> | |||
| </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> | |||
| </tr> | |||
| </tbody> | |||
| @@ -72,12 +72,12 @@ $(document).ready(function () { | |||
| $(e.target).parent().children().children().html(''); | |||
| $(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; | |||
| }) | |||
| $('.autodoc_tag_text').keypress(function(e) { | |||
| $('.autodoc_tag_result').html($(e.target).html()); | |||
| $('#autodoc_tag_result').html($(e.target).html()); | |||
| }); | |||
| }); | |||