From cc54eb171adfef7a8e6e74e4dc0ab7fe5656d860 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Mon, 14 Mar 2022 20:20:22 -0700 Subject: [PATCH] Use old function syntax --- sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sidebar.html b/sidebar.html index eca45ba..eae134d 100644 --- a/sidebar.html +++ b/sidebar.html @@ -69,7 +69,7 @@ const uploadSpinner = document.getElementById('upload-spinner'); const uploadNotification = document.getElementById('upload-notification'); - const setState = state => { + function setState(state) { const mapping = { 'initial': ['Initializing database...', true, 'none', '', '', true, 'none', ''], 'loaded': ['SQLite loaded. Ready to generate database!', false, 'none', '', '', true, 'none', ''], -- 2.47.3