PageSourceSearch

https://xn----stbbgcxc9f.xn--p1ai/bitrix/templates/romza_unova_1.0.0/js/inits/initBtnUp.js

js xn----stbbgcxc9f.xn--p1ai collected 2026-10-07 14:18:33 UTC 491 bytes, 23 lines download raw bytes

1(function($){
2	"use strict";
3
4	// $btnUp must be declared and set in globals.js
5	// require velocity.js
6	rmz.initBtnUp = function(){
7		if (!$btnUp.length) return;
8
9		$(window).on('scroll', function(){
10			winScrollTop = $win.scrollTop();
11
12			if (winScrollTop > 500) $btnUp.fadeIn('fast',function(){
13				$btnUp.addClass('shown');
14			});
15			else $btnUp.removeClass('shown').fadeOut('fast');
16		});
17
18		$btnUp.on('click', function(){
19			$('.main-wrapper').velocity('scroll');
20		});
21	}
22
23})(jQuery);

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.