(function($) {
$( '#post_type' ).on( 'change', function(){
$('#cptui_select_post_type').submit();
});
$( '#taxonomy' ).on( 'change', function(){
$( '#cptui_select_taxonomy' ).submit();
});
//confirm our deletions
$( '#cpt_submit_delete' ).on( 'click', function() {
if( confirm( cptui_type_data.confirm ) ) {
return true;
}
return false;
});
//Toggles help/support accordions.
$('#support .question').each(function() {
var tis = $(this), state = false, answer = tis.next('div').slideUp();
tis.click(function() {
state = !state;
answer.slideToggle(state);
tis.toggleClass('active',state);
});
});
//Handles message display for slug changes.
/*if ( 'cpt-ui_page_cptui_manage_post_types' === window.adminpage ) {
$('#name').after(cptui_type_data.post_change_name);
} else if ( 'cpt-ui_page_cptui_manage_taxonomies' === window.adminpage ) {
$('#name').after(cptui_tax_data.tax_change_name);
}
$( '#name' ).on( 'keyup', function( e ) {
//return early on this for now.
if ( 'cpt-ui_page_cptui_manage_taxonomies' === window.adminpage ) {
return;
}
var $input = $('.typetax-rename');
if ( 0 === $(this).val().length ) {
$input.addClass('cptui-hidden');
}
if ( -1 === $.inArray( $(this).val(), cptui_type_data.post_types ) || -1 === $.inArray( $(this).val(), cptui_tax_data.taxonomies ) ) {
if ( $input.hasClass( 'cptui-hidden' ) ) {
$input.removeClass('cptui-hidden');
}
} else {
$input.addClass('cptui-hidden');
}
});*/
})(jQuery);
1.0Umbrainthttps://www.umbraint.comUmbrainthttps://www.umbraint.com/author/umbraint/CONTENIDO 360 3D - Umbraintrich600338<blockquote class="wp-embedded-content" data-secret="qzG4DeVOJp"><a href="https://www.umbraint.com/contenido-360-3d/">CONTENIDO 360 3D</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://www.umbraint.com/contenido-360-3d/embed/#?secret=qzG4DeVOJp" width="600" height="338" title="“CONTENIDO 360 3D” — Umbraint" data-secret="qzG4DeVOJp" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript">
/*! This file is auto-generated */
!function(c,d){"use strict";var e=!1,o=!1;if(d.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},c.wp.receiveEmbedMessage);else if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(!t);else if(!(t.secret||t.message||t.value));else if(/[^a-zA-Z0-9]/.test(t.secret));else{for(var r,s,a,i=d.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=d.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=new RegExp("^https?:$","i"),l=0;l<n.length;l++)n[l].style.display="none";for(l=0;l<i.length;l++)if(r=i[l],e.source!==r.contentWindow);else{if(r.removeAttribute("style"),"height"===t.message){if(1e3<(s=parseInt(t.value,10)))s=1e3;else if(~~s<200)s=200;r.height=s}if("link"===t.message)if(s=d.createElement("a"),a=d.createElement("a"),s.href=r.getAttribute("src"),a.href=t.value,!o.test(a.protocol));else if(a.host===s.host)if(d.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener("message",c.wp.receiveEmbedMessage,!1),d.addEventListener("DOMContentLoaded",t,!1),c.addEventListener("load",t,!1);function t(){if(o);else{o=!0;for(var e,t,r,s=-1!==navigator.appVersion.indexOf("MSIE 10"),a=!!navigator.userAgent.match(/Trident.*rv:11\./),i=d.querySelectorAll("iframe.wp-embedded-content"),n=0;n<i.length;n++){if(!(r=(t=i[n]).getAttribute("data-secret")))r=Math.random().toString(36).substr(2,10),t.src+="#?secret="+r,t.setAttribute("data-secret",r);if(s||a)(e=t.cloneNode(!0)).removeAttribute("security"),t.parentNode.replaceChild(e,t);t.contentWindow.postMessage({message:"ready",secret:r},"*")}}}}(window,document);
</script>