ヤミRoot VoidGate
User / IP
:
216.73.216.137
Host / Server
:
173.201.252.198 / gabrieltopman.com
System
:
Linux p3plzcpnl482572.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home
/
l1ltxx5gqn9k
/
public_html
/
wp-content
/
themes
/
neve
/
assets
/
customizer
/
js
/
Viewing: ordering.js
/** * Customizer order control. * * @package Neve\Customizer\Controls */ ( function ( $ ) { 'use strict'; wp.neveOrderControl = { init: function () { this.setupSorting(); this.handleHide(); }, setupSorting: function () { var self = this; $( '.ti-order-sortable' ).each( function () { $( this ).sortable( { revert: true, axis: 'y', containment: 'parent', update: function () { self.updateOrder( this ); }, } ); } ); }, updateOrder: function ( control ) { var value = []; var items = $( control ).find( 'li.enabled' ); $( items ).each( function () { value.push( $( this ).data( 'id' ) ); } ); value = value.filter(function( element ) { return element !== undefined; }); $( control ).next().val( JSON.stringify( value ) ); $( control ).next().trigger( 'change' ); }, handleHide: function () { var self = this; $( '.toggle-display' ).on( 'click touchstart', function () { $( this ).parent().toggleClass( 'enabled' ); self.updateOrder( $( this ).closest( '.ti-order-sortable' ) ); } ); } }; $( document ).ready( function () { wp.neveOrderControl.init(); } ); } )( jQuery );
Coded With 💗 by
0x6ick