Skip to content

Firefly III: a personal finances manager

Move to jQuery func

James Cole1caf639b851c
diff --git a/public/v1/js/ff/auth/register.js b/public/v1/js/ff/auth/register.js
index 1632f7c8a0..8aa4244496 100644
--- a/public/v1/js/ff/auth/register.js
+++ b/public/v1/js/ff/auth/register.js
@@ -18,7 +18,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-(function () {
+$(function () {
+ "use strict";
const form = document.querySelector('form[action="'+route+'"]');
const errorBox = document.getElementById('client-errors');
const errorList = document.getElementById('client-errors-list');