Small JS fixes [skip ci]

This commit is contained in:
James Cole
2017-01-02 12:18:29 +01:00
parent 800478d437
commit dcd89d38e7
2 changed files with 7 additions and 7 deletions

View File

@@ -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";

View File

@@ -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;
}
}