This commit is contained in:
James Cole
2017-01-05 21:32:54 +01:00
parent 3de52b6bc1
commit 9db0e48f63
2 changed files with 4 additions and 2 deletions

View File

@@ -29,9 +29,11 @@ $(document).ready(function () {
if ($('input[name="tags"]').length > 0) {
$.getJSON('json/tags').done(function (data) {
var opt = {
typeahead: {
source: data
source: data,
afterSelect: function(val) { this.$element.val(""); }
}
};
$('input[name="tags"]').tagsinput(

File diff suppressed because one or more lines are too long