Fix for desktop app

This commit is contained in:
Julia Radzhabova 2019-03-15 13:30:46 +03:00
parent b30a4303d2
commit cf769ab97a

View file

@ -57,7 +57,7 @@ define([
$('.toolbar').addClass('editor-native-color');
});
app.on_native_message = function (cmd, param) {
!!app && (app.on_native_message = function (cmd, param) {
if (/^style:change/.test(cmd)) {
var obj = JSON.parse(param);
@ -67,7 +67,7 @@ define([
}
}
}
}
});
}
},
process: function (opts) {