Fix back button in teams with messenger and drive

This commit is contained in:
yflory
2019-09-18 13:30:24 +02:00
parent 5e58f7db4c
commit fc2938a27e
4 changed files with 14 additions and 18 deletions

View File

@@ -167,11 +167,10 @@ define([
// Universal direct channel
var modules = {};
funcs.makeUniversal = function (type, cfg) {
if (modules[type]) { return; }
var sframeChan = funcs.getSframeChannel();
modules[type] = {
onEvent: cfg.onEvent || function () {}
};
var sframeChan = funcs.getSframeChannel();
return {
execCommand: function (cmd, data, cb) {
sframeChan.query("Q_UNIVERSAL_COMMAND", {