diff --git a/www/share/inner.js b/www/share/inner.js index 35d337c9f..45fd67057 100644 --- a/www/share/inner.js +++ b/www/share/inner.js @@ -50,7 +50,7 @@ define([ password: priv.password } }); - UI.findCancelButton().click(); + $('button.cancel').click(); // Close any existing alertify UI.openCustomModal(UI.dialog.tabs(modal), { wide: Object.keys(friends).length !== 0 }); @@ -74,9 +74,6 @@ define([ andThen(common); return; } - metadataMgr.onChange(function () { - andThen(common); - }); }); }; main();