mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 02:18:20 +00:00
Fixes #526
This commit is contained in:
@@ -29,9 +29,11 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
if ($('input[name="tags"]').length > 0) {
|
if ($('input[name="tags"]').length > 0) {
|
||||||
$.getJSON('json/tags').done(function (data) {
|
$.getJSON('json/tags').done(function (data) {
|
||||||
|
|
||||||
var opt = {
|
var opt = {
|
||||||
typeahead: {
|
typeahead: {
|
||||||
source: data
|
source: data,
|
||||||
|
afterSelect: function(val) { this.$element.val(""); }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$('input[name="tags"]').tagsinput(
|
$('input[name="tags"]').tagsinput(
|
||||||
|
2
public/js/lib/bootstrap3-typeahead.min.js
vendored
2
public/js/lib/bootstrap3-typeahead.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user