remove smooth-scrolling feature
The javascript in place to make smooth scrolling work when a link points to an anchor on the same place makes it difficult to send those in-page references to someone, which is useful for sharing details about the schedule. Change-Id: I6e220bbc673227da8e790dcd9d2b19f43e82b98c Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
d5df22e416
commit
34020f266a
|
@ -77,14 +77,6 @@ $("#toggle-definitions").click(function () {
|
|||
}
|
||||
});
|
||||
|
||||
// Smooth scroll
|
||||
$('a').click(function(){
|
||||
$('html, body').animate({
|
||||
scrollTop: $( $.attr(this, 'href') ).offset().top
|
||||
}, 500);
|
||||
return false;
|
||||
});
|
||||
|
||||
/* BB 150310
|
||||
openstackdocstheme provides three types of admonitions, important, note
|
||||
and warning. We decorate their title paragraphs with Font Awesome icons
|
||||
|
|
Loading…
Reference in New Issue