Commit 72730b68 authored by fred's avatar fred
Browse files

fix display of panikdb link

parent f77b40d8
......@@ -409,7 +409,7 @@ $(function() {
$('#nav-search a').unbind('click').on('click', navsearch_click);
$('#nav-search form').unbind('submit').on('submit', navsearch_click);
if (document.cookie.indexOf('panikdb=on')) {
if (document.cookie.indexOf('panikdb=on') != -1) {
panikdb_path = null;
if (window.location.pathname.indexOf('/emissions/') == 0) {
panikdb_path = window.location.pathname;
......
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