Browse Source

yaaya

master
Pascal Gloor 5 years ago
parent
commit
b70464ffd9
2 changed files with 6 additions and 1 deletions
  1. 1
    1
      www/index.html
  2. 5
    0
      www/js/autodoc.js

+ 1
- 1
www/index.html View File

<span class="badge"></span> <span class="badge"></span>
</td> </td>
<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> </td>
</tr> </tr>
</tbody> </tbody>

+ 5
- 0
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'));
return false; return false;
}) })

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


$(window).bind("hashchange", function () { $(window).bind("hashchange", function () {

Loading…
Cancel
Save