From dcd89d38e759337da4f8b1a81062a287daef480d Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 2 Jan 2017 12:18:29 +0100 Subject: [PATCH] Small JS fixes [skip ci] --- public/js/ff/tags/create-edit.js | 10 ++++------ public/js/ff/transactions/create.js | 4 +++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/js/ff/tags/create-edit.js b/public/js/ff/tags/create-edit.js index 9670302e30..397f49ccef 100644 --- a/public/js/ff/tags/create-edit.js +++ b/public/js/ff/tags/create-edit.js @@ -1,13 +1,11 @@ /* - * edit.js - * Copyright (C) 2016 thegrumpydictator@gmail.com - * - * This software may be modified and distributed under the terms of the - * Creative Commons Attribution-ShareAlike 4.0 International License. + * create-edit.js + * Copyright (c) 2017 thegrumpydictator@gmail.com + * This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License. * * See the LICENSE file for details. */ -/** global: zoomLevel, latitude, longitude, google, apiKey */ +/** global: zoomLevel, latitude, longitude, google, apiKey, doPlaceMarker */ $(function () { "use strict"; diff --git a/public/js/ff/transactions/create.js b/public/js/ff/transactions/create.js index 9c006e305e..aaed65207a 100644 --- a/public/js/ff/transactions/create.js +++ b/public/js/ff/transactions/create.js @@ -79,7 +79,6 @@ function updateForm() { } break; - default: case 'transfer': // show source_id and dest_id: $('#source_account_id_holder').show(); @@ -98,6 +97,9 @@ function updateForm() { $('#piggy_bank_id_holder').show(); } break; + default: + // no action. + break; } }