resources/assets/js/googleResultsPreview.js
/**
     * @desc toggle all page results state on/off
     * @param event
     */
@desc toggle all page results state on/off
@param event
@desc toggle all page results state on / off @param event
function filterAll(event) {
        var dataToggle = $(event.target).data('on');
        $('.switch').each(function () {
            $(this).find('[data-on = ' + dataToggle + ']').click();
        });
    }
function filterAll ( event ) { var dataToggle = $ ( event . target ) . data ( 'on' ) ; $ ( '.switch' ) . each ( function ( ) { $ ( this ) . find ( '[data-on = ' + dataToggle + ']' ) . click ( ) ; } ) ; }
@desc toggle all page results state on/off
 @param event
@desc toggle all page results state on / off @param event