uawdijnntqw1x1x1
IP : 3.134.94.230
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
www
/
wp-content
/
plugins
/
meta-box
/
src
/
..
/
js
/
button-group.js
/
/
( function ( $, rwmb ) { 'use strict'; function setActiveClass() { var $this = $( this ), $input = $this.find( 'input' ), $label = $input.parent(); if ( $input.prop( 'checked' ) ) { $label.addClass( 'selected' ); } else { $label.removeClass( 'selected' ); } } function clickHandler() { var $this = $( this ), $input = $this.find( 'input' ), $label = $input.parent(), type = $input.attr( 'type' ), $allLabels = $this.parent().find( 'label' ); if ( ! $input.prop( 'checked' ) ) { $label.removeClass( 'selected' ); return; } $label.addClass( 'selected' ); if ( 'radio' === type ) { $allLabels.removeClass( 'selected' ); $label.addClass( 'selected' ); } } function init( e ) { $( e.target ).find( '.rwmb-button-input-list label' ).each( setActiveClass ); } rwmb.$document .on( 'mb_ready', init ) .on( 'click', '.rwmb-button-input-list label', clickHandler ) .on( 'clone', '.rwmb-button-input-list label', setActiveClass ); } )( jQuery, rwmb );
/home/batcwwjx/www/wp-content/plugins/meta-box/src/../js/button-group.js