PageSourceSearch

http://coloring-library.com/js/fuse_scriptc673.js

js coloring-library.com collected 2026-10-04 01:43:17 UTC 2,514 bytes, 65 lines download raw bytes

1jQuery(document).ready(function($) {
2
3         $('.floatingButton').on('click',
4            function(e){
5                e.preventDefault();
6                $(this).toggleClass('open');
7                if($(this).children('.fa').hasClass('fa-plus'))
8                {
9                    $(this).children('.fa').removeClass('fa-plus');
10                    $(this).children('.fa').addClass('fa-close');
11                } 
12                else if ($(this).children('.fa').hasClass('fa-close')) 
13                {
14                    $(this).children('.fa').removeClass('fa-close');
15                    $(this).children('.fa').addClass('fa-plus');
16                }
17                $('.floatingMenu').stop().slideToggle();
18            }
19        );
20        $(this).on('click', function(e) {
21          
22            var container = $(".floatingButton");
23            // if the target of the click isn't the container nor a descendant of the container
24            if (!container.is(e.target) && $('.floatingButtonWrap').has(e.target).length === 0) 
25            {
26                if(container.hasClass('open'))
27                {
28                    container.removeClass('open');
29                }
30                if (container.children('.fa').hasClass('fa-close')) 
31                {
32                    container.children('.fa').removeClass('fa-close');
33                    container.children('.fa').addClass('fa-plus');
34                }
35                $('.floatingMenu').hide();
36            }
37          
38            // if the target of the click isn't the container and a descendant of the menu
39            if(!container.is(e.target) && ($('.floatingMenu').has(e.target).length > 0)) 
40            {
41                $('.floatingButton').removeClass('open');
42                $('.floatingMenu').stop().slideToggle();
43            } 
44        });
45
46     $(".fuse_social_icons_links").click(function(){
47        // This does the ajax request
48        $.post({
49            url: fuse_social.ajax_url, // or example_ajax_obj.ajaxurl if using on frontend
50            data: {
51                'action': 'fuse_social_update_analytics',
52                'connect' : $(this).attr('data-title'),
53                'nonce' : $(this).attr('data-nonce')
54            },
55            success:function(data) {
56                // This outputs the result of the ajax request
57                console.log(data);
58            },
59            error: function(errorThrown){
60                console.log(errorThrown);
61            }
62        });  
63
64    });
65});;

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.