You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
527 B
JavaScript
22 lines
527 B
JavaScript
;(function ($) {
|
|
|
|
// $(window).on('load', function(){
|
|
$(document).ready(function () {
|
|
|
|
elementor.hooks.addAction('panel/open_editor/widget', function (panel, model, view) {
|
|
|
|
|
|
$('body').on('click', '.the-post-grid-field-hide', function(){
|
|
$(this).toggleClass('is-pro');
|
|
$(this).find('label', 'input').on('click', function(){
|
|
console.log($(this));
|
|
})
|
|
// return false;
|
|
});
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})(jQuery); |