Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/src/commit/e256271c5c321cded971867ceb1e467ef43f93f7/UI/jQuery/ToTheTop.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Prowlarr/UI/jQuery/ToTheTop.js

26 lines
630 B

'use strict';
define(
[
'bootstrap'
], function () {
$(document).ready(function () {
var _window = $(window);
var _scrollButton = $('#scroll-up');
$(window).scroll(function () {
if (_window.scrollTop() > 100) {
_scrollButton.fadeIn();
}
else {
_scrollButton.fadeOut();
}
});
_scrollButton.click(function () {
$("html, body").animate({ scrollTop: 0 }, 600);
return false;
});
});
});