open share modal on ready

pull/1/head
David Benqué 5 years ago
parent 01d7d21754
commit 8fc08538a1

@ -533,7 +533,7 @@ MessengerUI, Messages) {
Common.getSframeChannel().event('EV_SHARE_OPEN', { Common.getSframeChannel().event('EV_SHARE_OPEN', {
hidden: true hidden: true
}); });
$shareBlock.click(function () { $shareBlock.ready(function () { // XXX temporary open share modal on load
var title = (config.title && config.title.getTitle && config.title.getTitle()) var title = (config.title && config.title.getTitle && config.title.getTitle())
|| (config.title && config.title.defaultName) || (config.title && config.title.defaultName)
|| ""; || "";

Loading…
Cancel
Save