aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/javascripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/javascripts/octopress.js4
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">&raquo;</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 = '&raquo;';
} else {
$('body').addClass('collapse-sidebar');
- e.target.innerHTML = '&laquo;';
}
});
sections = $('aside[role=sidebar] > section')