This commit is contained in:
Alexey Golubev 2020-04-15 13:04:25 +03:00
commit d7df556761

View file

@ -141,6 +141,7 @@ define([
}
};
window.on_native_message('editor:config', 'request');
if ( !!window.native_message_cmd ) {
for ( var c in window.native_message_cmd ) {
window.on_native_message(c, window.native_message_cmd[c]);
@ -151,7 +152,7 @@ define([
// hide mask for modal window
var style = document.createElement('style');
style.appendChild(document.createTextNode('.modals-mask{opacity:0;}'));
style.appendChild(document.createTextNode('.modals-mask{opacity:0 !important;}'));
document.getElementsByTagName('head')[0].appendChild(style);
}