From 9b677967d437d9eb4bd9e39083dbde74a280753e Mon Sep 17 00:00:00 2001 From: Ricardo Rauch Date: Wed, 9 Oct 2013 16:45:14 -0300 Subject: [PATCH] licence update --- functions.php | 26 +++++++++----------------- inc/licence.php | 0 js/site.js | 33 ++++++++++++++++----------------- options.php | 0 4 files changed, 25 insertions(+), 34 deletions(-) mode change 100644 => 100755 inc/licence.php mode change 100644 => 100755 options.php diff --git a/functions.php b/functions.php index 212287d..3f49e85 100755 --- a/functions.php +++ b/functions.php @@ -157,26 +157,18 @@ function of_stylesheet() { 0) { + if ($("#myToggleButton").length>0) { - myToggleButton.addEventListener('click', function(){ + myToggleButton.addEventListener('click', function(){ - if( snapper.state().state=="left" ){ - snapper.close(); - } else { - snapper.open('left'); - } + if( snapper.state().state=="left" ){ + snapper.close(); + } else { + snapper.open('left'); + } - }); + }); -}; + }; $('code, pre').addClass('prettyprint'); diff --git a/options.php b/options.php old mode 100644 new mode 100755