Commit 7511e474 authored by Timofei's avatar Timofei

remove unnecessary var

parent 2fc8ac98
...@@ -66,13 +66,10 @@ $(document).ready(function () { ...@@ -66,13 +66,10 @@ $(document).ready(function () {
} }
let wasMessageClosed = localStorage.getItem('was_message_closed'); let wasMessageClosed = localStorage.getItem('was_message_closed');
let isMessageShowing;
if (wasMessageClosed) { if (wasMessageClosed) {
closeMessageBox(); closeMessageBox();
isMessageShowing = false;
} else { } else {
openMessageBox(); openMessageBox();
isMessageShowing = true;
} }
} }
}) })
......
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