Some preparation for upgrade.
[wolnelektury.git] / src / wolnelektury / static / js / annoy.js
index d71f146..6e613c7 100644 (file)
@@ -1,23 +1,22 @@
 (function($) {
     $(function() {
 
-
 $("#annoy-on").click(function(e) {
     e.preventDefault();
     $("#annoy").slideDown('fast');
     $(this).hide();
-    if (Modernizr.localstorage) localStorage.removeItem("annoyed2019");
+    if (Modernizr.localstorage) localStorage.removeItem("annoyed2019tpwl");
 });
 
 $("#annoy-off").click(function() {
     $("#annoy").slideUp('fast');
     $("#annoy-on").show();
-    if (Modernizr.localstorage) localStorage["annoyed2019"] = true;
+    if (Modernizr.localstorage) localStorage["annoyed2019tpwl"] = true;
 });
 
 
 if (Modernizr.localstorage) {
-    if (!localStorage["annoyed2019"]) {
+    if (!localStorage["annoyed2019tpwl"]) {
         $("#annoy-on").hide();
         $("#annoy").show();
     }