This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 06020633c025deae4004a041067513d25a2aef9d Author: Daniel Gruno <[email protected]> AuthorDate: Wed Nov 17 21:01:01 2021 +0100 declare before use --- webui/js/source/preferences.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/js/source/preferences.js b/webui/js/source/preferences.js index 0e48005..b8b4c7f 100644 --- a/webui/js/source/preferences.js +++ b/webui/js/source/preferences.js @@ -27,7 +27,7 @@ function init_preferences(state, json) { if (can_store) { let local_preferences = window.localStorage.getItem('ponymail_preferences'); if (local_preferences) { - ljson = JSON.parse(local_preferences); + let ljson = JSON.parse(local_preferences); if (ljson.chatty_layout !== undefined) { chatty_layout = ljson.chatty_layout; } @@ -132,4 +132,4 @@ function set_skin_permalink(skin) { hideWindows(true); save_preferences(); parse_permalink(); -} \ No newline at end of file +}
