limit.page.js 406 Bytes
let shareAction = require('common/share');

$(function() {
    shareAction({
        title: $('#shareTitle').val(),
        link: $('#shareLink').val(),
        desc: $('#shareDesc').val(),
        imgUrl: $('#shareImg').val(),
    });
    setTimeout(() => {
        const $miniAppOpen = $('#mini-app-open');

        if ($miniAppOpen[0]) {
            $miniAppOpen[0].click();
        }
    }, 1000);
});