ox_modules/module-mob/commands/clickHidden.js
function(elms, clickParent) {
        var elm = elms && elms.length > 0 ? elms[0] : null;
        if (!elm) {
            return;
        }
        /*global document*/
        var clck_ev = document.createEvent('MouseEvent');
        clck_ev.initEvent('click', true, true);
        if (clickParent) {
            elm.parentElement.dispatchEvent(clck_ev);
        } else {
            elm.dispatchEvent(clck_ev);
        }
    }
function(elms, clickParent) {
        var elm = elms && elms.length > 0 ? elms[0] : null;
        if (!elm) {
            return;
        }
        /*global document*/
        var clck_ev = document.createEvent('MouseEvent');
        clck_ev.initEvent('click', true, true);
        if (clickParent) {
            elm.parentElement.dispatchEvent(clck_ev);
        } else {
            elm.dispatchEvent(clck_ev);
        }
    }
function ( elms , clickParent ) { var elm = elms && elms . length > 0 ? elms [ 0 ] : null ; if ( ! elm ) { return ; } /*global document*/ var clck_ev = document . createEvent ( 'MouseEvent' ) ; clck_ev . initEvent ( 'click' , true , true ) ; if ( clickParent ) { elm . parentElement . dispatchEvent ( clck_ev ) ; } else { elm . dispatchEvent ( clck_ev ) ; } }
click hidden function
click hidden function