| @@ -245,7 +245,7 @@ | |||
| <span class="badge"></span> | |||
| </td> | |||
| <td> | |||
| <button type="button" class="btn btn-outline-primary">Add Tag</button> | |||
| <button type="button" class="autodoc_tag_result btn btn-outline-primary">Add Tag</button> | |||
| </td> | |||
| </tr> | |||
| </tbody> | |||
| @@ -72,8 +72,13 @@ $(document).ready(function () { | |||
| $(e.target).parent().children().children().html(''); | |||
| $(e.target).children().html(' X'); | |||
| $('.autodoc_tag_result').attr('class', $(e.target).attr('class')); | |||
| return false; | |||
| }) | |||
| $('.autodoc_tag_text').keypress(function(e) { | |||
| $('.autodoc_tag_result').html($(e.target).html()); | |||
| }); | |||
| }); | |||
| $(window).bind("hashchange", function () { | |||