mirror of https://github.com/xwiki-labs/cryptpad
Fix share modal
This commit is contained in:
parent
ee735c3aa4
commit
9959f73b61
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue