fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stats for audiobooks
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2021
/
scripts
/
main.js
diff --git
a/src/wolnelektury/static/2021/scripts/main.js
b/src/wolnelektury/static/2021/scripts/main.js
index
6870837
..
4d17771
100644
(file)
--- a/
src/wolnelektury/static/2021/scripts/main.js
+++ b/
src/wolnelektury/static/2021/scripts/main.js
@@
-28,7
+28,7
@@
});
})();
});
})();
-// Ebook/Audiobook Btns
+//
/
Ebook/Audiobook Btns
(function() {
let button = $('.c-media__btn button:not(.l-button--media--full)');
let popupLayer = $('.c-media__popup');
(function() {
let button = $('.c-media__btn button:not(.l-button--media--full)');
let popupLayer = $('.c-media__popup');
@@
-138,6
+138,14
@@
}
if($change.length) { change(); }
}
if($change.length) { change(); }
+
+
+ function quit_experiment() {
+ document.cookie = 'EXPERIMENT_layout=off; path=/; max-age=31536000';
+ window.location.reload(true);
+ }
+ $(".quit-experiment").click(quit_experiment);
+
})();
//Switch
})();
//Switch