mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Add template for articles with sound files
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
$(window).scroll(function() {
|
||||
if ($(this).scrollTop() >= 55) {
|
||||
$('.top-scroll-button').fadeIn(500);
|
||||
}
|
||||
if ($(this).scrollTop() < 55) {
|
||||
$('.top-scroll-button').fadeOut(500);
|
||||
}
|
||||
});
|
||||
function scrollUp() {
|
||||
$('body, html, .mdc-drawer-app-content, #main-content, .mdc-top-app-bar--short-fixed-adjust').animate({
|
||||
scrollTop: 0
|
||||
}, 500);
|
||||
}
|
||||
Reference in New Issue
Block a user