Commit 6305d884 authored by fred's avatar fred

set a cookie when visiting homepage, to be used for a button on the website

parent 4eed82b9
...@@ -114,6 +114,7 @@ $(document).ready(function() { ...@@ -114,6 +114,7 @@ $(document).ready(function() {
$('#other-emissions').click(function() { $('#other-emissions').click(function() {
$('#other-emissions-list').toggle('blind'); $('#other-emissions-list').toggle('blind');
}); });
document.cookie = 'panikdb=on; domain=.radiopanik.org';
}); });
</script> </script>
{% endblock %} {% endblock %}
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