fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to new librarian api for html, txt.
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
js
/
book_text
/
settings.js
diff --git
a/src/wolnelektury/static/js/book_text/settings.js
b/src/wolnelektury/static/js/book_text/settings.js
index
e398ba3
..
96fb6c4
100644
(file)
--- a/
src/wolnelektury/static/js/book_text/settings.js
+++ b/
src/wolnelektury/static/js/book_text/settings.js
@@
-6,6
+6,7
@@
$("#menu-settings").show();
$(".settings-switch").click(function(e) {
e.preventDefault();
$("body").toggleClass($(this).attr("data-setting"));
+ _paq.push(['trackEvent', 'html', $(this).attr("data-setting")]);
});