Commit ff7f4a13 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Revert "Scroll the readme anchors below the navbar."

This reverts commit b1792d9e.
parent 55947add
......@@ -13,18 +13,3 @@ class @ProjectShow
$("a[href=" + defaultView + "]").tab "show"
else
$("a[data-toggle='tab']:first").tab "show"
$(document).ready ->
$(window).load (e) ->
e.preventDefault()
unless location.hash is ""
$("html, body").animate
scrollTop: $(".navbar").offset().top - $(".navbar").height()
, 200
false
$("a").click (e) ->
unless location.hash is ""
$("html,body").animate
scrollTop: $(this).offset().top - $(".navbar").height() - 3
, 200
$(document).ready ->
$(window).load (e) ->
e.preventDefault()
unless location.hash is ""
$("html, body").animate
scrollTop: $(".navbar").offset().top - $(".navbar").height()
, 200
false
$("a").click (e) ->
unless location.hash is ""
$("html,body").animate
scrollTop: $(this).offset().top - $(".navbar").height() - 3
, 200
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