Fix share modal

This commit is contained in:
yflory 2019-06-20 16:07:02 +02:00
parent ee735c3aa4
commit 9959f73b61
1 changed files with 7 additions and 0 deletions

View File

@ -17,7 +17,11 @@ define([
{
var APP = window.APP = {};
var init = false;
var andThen = function (common) {
if (init) { return; }
init = true;
var metadataMgr = common.getMetadataMgr();
var sframeChan = common.getSframeChannel();
@ -74,6 +78,9 @@ define([
andThen(common);
return;
}
metadataMgr.onChange(function () {
andThen(common);
});
});
};
main();