File "admin-wordpress.js"
Full Path: /home/veodprin/public_html/wp-content/plugins/image-map-pro-wordpress/js/admin-wordpress.js
File size: 767 bytes
MIME-type: text/plain
Charset: utf-8
!function(e,t,i){var n=!1;function r(){var i=e(t).height()-e("#wpadminbar").height();i<e("#adminmenuwrap").height()&&(i=e("#adminmenuwrap").height()),e("#wcp-editor").height(i),e("#instance-options-wrap").siblings().hide()}e(i).ready(function(){r(),e("#wcp-editor").css({"background-color":"#f1f1f1"}),e(t).on("resize",function(){r()}),e(i).on("click",'[data-wcp-editor-main-button-name="fullscreen"]',function(){n?(n=!1,e("#fullscreen-wrap").remove(),e("#wcp-editor-offline").attr("id","wcp-editor")):(n=!0,e("#wcp-editor").attr("id","wcp-editor-offline").html(""),e("body").append('<div id="fullscreen-wrap"><div id="wcp-editor"></div></div>')),e.image_map_pro_init_editor(e.image_map_pro_editor_current_settings(),e.WCPEditorSettings)})})}(jQuery,window,document);