????JFIF??x?x????'
Server IP : 104.21.80.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.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 : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/./tempvsty/pontiacques.org/wp-content/themes/layerswp/core/widgets/js/ |
Upload File : |
/** * Content Widget JS file * * This file contains functions relating to the Content Widget * * @package Layers * @since Layers 1.0.0 * Contents * 1 - Column Title Update * * Author: Obox Themes * Author URI: http://www.oboxthemes.com/ * License: GNU General Public License v2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html */ jQuery(document).ready(function($){ /** * 1 - Module Title Update */ $(document).on( 'keyup' , 'ul[id^="column_list_"] input[id*="-title"]' , function(e){ // "Hi Mom" $that = $(this); // Set the string value $val = $that.val().toString().substr( 0 , 51 ); // Set the Title $string = ': ' + ( $val.length > 50 ? $val + '...' : $val ); // Update the accordian title $that.closest( '.layers-accordion-item' ).find( 'span.layers-detail' ).text( $string ); }); /** * 2 - Content Title Update */ $(document).on( 'keyup' , 'ul[id^="content_list_"] input[id*="-title"]' , function(e){ // "Hi Mom" $that = $(this); // Set the string value $val = $that.val().toString().substr( 0 , 51 ); // Set the Title $string = ': ' + ( $val.length > 50 ? $val + '...' : $val ); // Update the accordian title $that.closest( '.layers-accordion-item' ).find( 'span.layers-detail' ).text( $string ); }); }); //jQuery