File manager - Edit - /home/rangceb/diohome.com/wp-content468461/updraft/plugins-old/lingotek-translation/js/actions.js
Back
/** * @file * Lingotek target actions JS code for lingotek target actions button. */ jQuery( document ).ready( function($) { 'use strict'; var $actionsElement = $( document ).find( '.lingotek-target-dropdown,.lingotek-source-dropdown' ); // Attach event handlers to toggle button. $actionsElement.each( function () { var $this = $( this ); var $toggle = $this.find( '.lingotek-target-dropdown-toggle,.lingotek-source-dropdown-toggle' ); $toggle.on( 'click', function (e) { e.preventDefault(); $this.toggleClass( 'open' ); } ); $this.on( 'focusout', function (e) { setTimeout( function () { if ($this.has( document.activeElement ).length == 0) { // The focus left the action button group, hide actions. $this.removeClass( 'open' ); } }, 1 ); } ); } ); } );
| ver. 1.4 |
Github
|
.
| PHP 8.4.10 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings