Commit 17462d5a by hoangson

fix sessionStorage activeTab for ios

parent 4fa4cc9c
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
$(document).ready(function() { $(document).ready(function() {
$("#footer").load("main-footer.html", function() { $("#footer").load("main-footer.html", function() {
let activeTab; let activeTab;
if (typeof sessionStorage != 'undefined' && sessionStorage.activeTab != 'undefined') { if (typeof sessionStorage != 'undefined' && typeof sessionStorage.activeTab != 'undefined') {
activeTab = sessionStorage.activeTab; activeTab = sessionStorage.activeTab;
} }
if (typeof activeTab != 'undefined') { if (typeof activeTab != 'undefined') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment