Commit 6a93a86c authored by Thomas Park's avatar Thomas Park
Browse files

prevent default on button clicks

parent 574c4e6b
......@@ -10,6 +10,10 @@
$('#home > .navbar').addClass('navbar-transparent');
$("a[href='#'").click(function(e) {
var $button = $("<div id='source-button' class='btn btn-primary btn-xs'>&lt; &gt;</div>").click(function(){
var html = $(this).parent().html();
html = cleanSource(html);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment