Initial twiddle mechanics.

This commit is contained in:
Tom Preston-Werner
2010-07-14 14:58:25 -07:00
parent c1ac944508
commit 05de03461b
2 changed files with 14 additions and 6 deletions
@@ -95,4 +95,12 @@ $(function(){
var format = $('#guides .write select[name=format] option:selected').attr('value')
Gollum.enclose(el, 'gollum', 'image')
})
$('#editbar .tab a').click(function() {
if ($(this).hasClass("open")) {
$(this).removeClass("open")
} else {
$(this).addClass("open")
}
})
})