diff options
-rw-r--r-- | assets/js/bootswatch.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/bootswatch.js b/assets/js/bootswatch.js index 9a32eee5..cc6ca998 100644 --- a/assets/js/bootswatch.js +++ b/assets/js/bootswatch.js @@ -10,6 +10,10 @@ $('#home > .navbar').addClass('navbar-transparent'); }); + $("a[href='#'").click(function(e) { + e.preventDefault(); + }); + var $button = $("<div id='source-button' class='btn btn-primary btn-xs'>< ></div>").click(function(){ var html = $(this).parent().html(); html = cleanSource(html); |