PageSourceSearch

https://www.prime1studio.com/on/demandware.static/Sites-Prime1Stud…/-/default/v1790923457643/js/page_up.js

js prime1studio.com collected 2026-10-02 10:32:40 UTC 1,102 bytes, 36 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2var __webpack_exports__ = {};
3/*!***************************************************************************************************!*\
4  !*** ./app_prime1studio_ec/cartridges/app_prime1studio_ec/cartridge/client/default/js/page_up.js ***!
5  \***************************************************************************************************/
6$(window).scroll(function () {
7  PageUpAnime();
8});
9$(window).on('load', function () {
10  PageUpAnime();
11});
12$('.cmn-page-up').click(function () {
13  $('body,html').animate({
14    scrollTop: 0
15  }, 500);
16  return false;
17});
18function PageUpAnime() {
19  var scroll = $(window).scrollTop();
20  var threshold;
21  if ($(window).width() > 991) {
22    threshold = 600;
23  } else {
24    threshold = 400;
25  }
26  if (scroll >= threshold) {
27    $('.cmn-page-up').removeClass('jsDisappear');
28    $('.cmn-page-up').addClass('jsAppear');
29  } else if ($('.cmn-page-up').hasClass('jsAppear')) {
30    $('.cmn-page-up').removeClass('jsAppear');
31    $('.cmn-page-up').addClass('jsDisappear');
32  }
33}
34/******/ })()
35;
36//# sourceMappingURL=page_up.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.