mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 02:18:20 +00:00
Various code cleanup.
This commit is contained in:
@@ -35,8 +35,7 @@ $(document).ready(function () {
|
||||
|
||||
function updateDescription() {
|
||||
$.getJSON('json/transaction-journals/' + what).done(function (data) {
|
||||
$('input[name="description"]').typeahead('destroy');
|
||||
$('input[name="description"]').typeahead({source: data});
|
||||
$('input[name="description"]').typeahead('destroy').typeahead({source: data});
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user