fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Annoying fixes.
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
js
/
annoy.js
diff --git
a/src/wolnelektury/static/js/annoy.js
b/src/wolnelektury/static/js/annoy.js
index
3104097
..
6e613c7
100644
(file)
--- a/
src/wolnelektury/static/js/annoy.js
+++ b/
src/wolnelektury/static/js/annoy.js
@@
-1,23
+1,22
@@
(function($) {
$(function() {
(function($) {
$(function() {
-
$("#annoy-on").click(function(e) {
e.preventDefault();
$("#annoy").slideDown('fast');
$(this).hide();
$("#annoy-on").click(function(e) {
e.preventDefault();
$("#annoy").slideDown('fast');
$(this).hide();
- if (Modernizr.localstorage) localStorage.removeItem("annoyed201
3
");
+ if (Modernizr.localstorage) localStorage.removeItem("annoyed201
9tpwl
");
});
$("#annoy-off").click(function() {
$("#annoy").slideUp('fast');
$("#annoy-on").show();
});
$("#annoy-off").click(function() {
$("#annoy").slideUp('fast');
$("#annoy-on").show();
- if (Modernizr.localstorage) localStorage["annoyed201
3
"] = true;
+ if (Modernizr.localstorage) localStorage["annoyed201
9tpwl
"] = true;
});
if (Modernizr.localstorage) {
});
if (Modernizr.localstorage) {
- if (!localStorage["annoyed201
3
"]) {
+ if (!localStorage["annoyed201
9tpwl
"]) {
$("#annoy-on").hide();
$("#annoy").show();
}
$("#annoy-on").hide();
$("#annoy").show();
}