function toggleElements()

in src/windows/CaptureProxy.js [49:59]


    function toggleElements () {
        // convert arguments to array
        const args = Array.prototype.slice.call(arguments);
        args.forEach(function (buttonId) {
            const buttonEl = document.getElementById(buttonId);
            if (buttonEl) {
                const curDisplayStyle = buttonEl.style.display;
                buttonEl.style.display = curDisplayStyle === 'none' ? 'block' : 'none';
            }
        });
    }