From: Ardis Lu Date: Tue, 15 Mar 2022 03:20:22 +0000 (-0700) Subject: Use old function syntax X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=cc54eb171adfef7a8e6e74e4dc0ab7fe5656d860;p=sheets-db Use old function syntax --- 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', ''],