HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/plugins/wp-extended-search/assets/js/wp-es-setting-cpt.js
/* 
    Setting CPT JS
    Author     : 5um17
*/

// jQuery ready function.
jQuery(document).ready(function (){
    
    // Select and copy the code to clipboard.
    jQuery('.wpes-display-input').on('click', function (){
        jQuery(this).trigger('select');
        document.execCommand('copy');
        jQuery(this).parent('td').append('<span class="wpes-copied">'+ wpes_admin_cpt_vars.str_copy +'</span>');
        jQuery('.wpes-copied').fadeOut(2000, function (){
            jQuery(this).remove();
        });
    });
    
});