From 497d5fe0a4e9c478fb99f8d4d1eeab17c6d05a5b Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Sat, 2 Dec 2017 19:35:28 +0100 Subject: [PATCH] remove function for checking for sessionStorage --- src/www/head.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/head.inc b/src/www/head.inc index 63fec39cc..8996a6f88 100644 --- a/src/www/head.inc +++ b/src/www/head.inc @@ -165,7 +165,7 @@ $pagetitle .= html_safe(sprintf(' | %s.%s', $config['system']['hostname'], $conf } event.preventDefault(); }); - if (checkSessionStorageExists() && sessionStorage.getItem('all_help_preset') == 1) { + if (window.sessionStorage && sessionStorage.getItem('all_help_preset') == 1) { // show all help messages when preset was stored $('[id*="show_all_help"]').toggleClass("fa-toggle-on fa-toggle-off"); $('[id*="show_all_help"]').toggleClass("text-success text-danger");