Pascal Gloor 5 anni fa
parent
commit
b70464ffd9
2 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 1
    1
      www/index.html
  2. 5
    0
      www/js/autodoc.js

+ 1
- 1
www/index.html Vedi File

@@ -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>

+ 5
- 0
www/js/autodoc.js Vedi File

@@ -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 () {

Loading…
Annulla
Salva