Various code cleanup.

This commit is contained in:
James Cole
2017-01-20 08:03:26 +01:00
parent be868d37f2
commit 61d58a354e
6 changed files with 27 additions and 11 deletions

View File

@@ -13,7 +13,6 @@ $(document).ready(function () {
// destination account names:
if ($('input[name^="destination_account_name["]').length > 0) {
console.log('multi dest account');
$.getJSON('json/expense-accounts').done(function (data) {
$('input[name^="destination_account_name["]').typeahead({source: data});
});

View File

@@ -6,7 +6,7 @@
* See the LICENSE file for details.
*/
/** global: what, title, breadcrumbs, middleCrumbName, button, piggiesLength, txt, doSwitch, middleCrumbUrl */
/** global: what,Modernizr, title, breadcrumbs, middleCrumbName, button, piggiesLength, txt, doSwitch, middleCrumbUrl */
$(document).ready(function () {
"use strict";

View File

@@ -8,7 +8,7 @@
* See the LICENSE file for details.
*/
/** global: what */
/** global: what, Modernizr */
$(document).ready(function () {
"use strict";