Skip to content

Firefly III: a personal finances manager

Small JS fixes [skip ci]

James Coledcd89d38e759
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 [email protected]
- *
- * 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 [email protected]
+ * 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;
}
}