From 514a5a0e5b47b39e45b2d1730777372e5ead529d Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 7 Feb 2014 10:54:31 +0200 Subject: [PATCH] Add sponsor sidebar --- js/90-custom.js | 6 ++++++ lib/Gruntmaster/Page/Base.pm | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/js/90-custom.js b/js/90-custom.js index 3759c1b..923ebaf 100644 --- a/js/90-custom.js +++ b/js/90-custom.js @@ -25,6 +25,12 @@ $('#theme_cerulean').on('click', function () { set_style("cerulean"); }); $('#theme_cyborg' ).on('click', function () { set_style("cyborg"); }); $('#theme_cosmo' ).on('click', function () { set_style("cosmo"); }); + + if(!$('#sidebar').size()) { + var content = $('#content'); + content.wrapInner('
').append(' + +
+