PageSourceSearch

https://www.farmaciarosasierra.com/assets/common/js/stickyWhatsapp.js

js farmaciarosasierra.com collected 2026-10-08 20:09:32 UTC 1,093 bytes, 30 lines download raw bytes

1(function ($) {
2    $(document).ready(function () {
3
4        //-----------------------------------------------
5        //New scroll sticky Whatsapp(sticky_whatsapp blade)
6        //-----------------------------------------------
7        $(window).scroll(function () {
8            if ($(this).scrollTop() > 1) {
9                if( $('#stickyWhatsapp').html() != 0 ) {
10                    $(".stickyWhatsapp").fadeIn();
11                }
12            } else {
13                $(".stickyWhatsapp").fadeOut();
14                //window top hide whatsapp window + change icon button to open
15                $(".whatsapp-window").fadeOut();
16                iconWhats = $('#stickyWhatsapp').find('i');
17                if(iconWhats.hasClass('fa fa-times')){
18                    iconWhats.toggleClass('fa fa-whatsapp fa fa-times');
19                }
20            }
21        });
22
23        $('#stickyWhatsapp').click(function () {
24            $(".whatsapp-window").toggle();
25            $(this).find('i').toggleClass('fa fa-whatsapp fa fa-times');
26        });
27
28    }); // End document ready
29
30})(this.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.