From 1d1618836bb5b8d16af93b4d94facf6c33b07063 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Tue, 3 Jan 2023 20:20:46 +0100 Subject: [PATCH] Fix frontend formatting --- resources/assets/js/forms.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/forms.js b/resources/assets/js/forms.js index 840b29fd..8eab91fe 100644 --- a/resources/assets/js/forms.js +++ b/resources/assets/js/forms.js @@ -34,7 +34,7 @@ ready(() => { const triggerChange = (element) => { const changeEvent = new Event('change'); element.dispatchEvent(changeEvent); - } + }; /** * Sets the values of the input fields with the IDs to from/to: @@ -98,7 +98,7 @@ ready(() => { if (to < from) { setInput(to, from); - } else{ + } else { setInput(from, to); } };