golden hour
/var/www/html/wp-content/plugins/designthemes-webinar/modules/google-classroom/assets/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
backend.js
1.38 KB
Del
OK
frontend.js
737 B
Del
OK
Edit: frontend.js
jQuery(document).ready(function() { if(jQuery('.dtwb-classroom-item-access-code').length) { jQuery('body').on('click', '.dtwb-classroom-item-access-code', function() { var temp = jQuery('<input>'); jQuery('body').append(temp); temp.val(jQuery(this).find('span').html()).select(); document.execCommand('copy'); temp.remove(); jQuery('<span class="dtwb-classroom-item-access-code-copied">'+dtwebinarfrontendobject.textCopied+'</span>').insertAfter(jQuery(this).find('span')); setTimeout(function() { jQuery('.dtwb-classroom-item-access-code-copied').remove(); }, 1200); }); } });
Save