Skip to content

Commit

Permalink
Merge pull request #27 from tollus/patch-1
Browse files Browse the repository at this point in the history
remove heading.click so only clicking on the "paragraph" link refreshes ...
  • Loading branch information
Dynalon committed Nov 11, 2013
2 parents 4eb15c8 + 0ae5c64 commit 7a2e494
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/basic_skeleton.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

(function($) {
var publicMethods = {
createBasicSkeleton: function() {
Expand Down Expand Up @@ -167,9 +166,6 @@
$heading.addClass('md-inpage-anchor');
var text = $heading.clone().children('.anchor-highlight').remove().end().text();
var href = $.md.util.getInpageAnchorHref(text);
$heading.click (function (){
window.location.hash = href;
});
addPilcrow($heading, href);
});
}
Expand Down

0 comments on commit 7a2e494

Please sign in to comment.