From f8807288c6f4a459813bce2f470ef3b2438b802a Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Thu, 20 Feb 2014 11:41:55 +0100 Subject: [PATCH] Small bugfix The informations link was not displayed on stats and about pages --- templates/index.html.ep | 2 -- templates/layouts/default.html.ep | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/index.html.ep b/templates/index.html.ep index 50abb4c..5f9c7ab 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -140,8 +140,6 @@ }; $('document').ready(function() { - $('.jsonly').show(); - var firstview = ($("#first-view").prop('checked')) ? 1 : 0; var deleteday = ($("#delete-day").prop('checked')) ? 1 : 0; diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index ffac184..f10e411 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -34,6 +34,11 @@ % end %= javascript 'js/jquery-2.1.0.min.js' %= javascript 'js/bootstrap.min.js' + %= javascript begin + $('document').ready(function() { + $('.jsonly').show(); + }); + % end