diff options
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/source/javascripts/octopress.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index 6a5ad2ea..bdc47683 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -9,15 +9,13 @@ function getNav(){ }); } function addSidebarToggler() { - $('#content').append('<a href="#" class="toggle-sidebar">»</a>'); + $('#content').append('<span class="toggle-sidebar"></span>'); $('.toggle-sidebar').bind('click', function(e){ e.preventDefault(); if($('body').hasClass('collapse-sidebar')){ $('body').removeClass('collapse-sidebar'); - e.target.innerHTML = '»'; } else { $('body').addClass('collapse-sidebar'); - e.target.innerHTML = '«'; } }); sections = $('aside[role=sidebar] > section') |