public/js/simple.js
/**
 * Created by Raphael Karanja on 14/08/2018.
 */
Created by Raphael Karanja on 14/08/2018.
Created by Raphael Karanja on 14 / 08 / 2018 .
function cyToggleOverflowMenu(e) {
    var type = e.type,
        button = e.currentTarget,
        overflow_menu_attribute = button.getAttribute('data-target'),
        menu = document.querySelector(overflow_menu_attribute);
    if (menu != null) {
        var menuattr = menu.getAttribute('aria-hidden');
        if (menuattr === 'true') {
            menu.setAttribute('aria-hidden', 'false');
            menu.style.display = "none";
        } else {
            setTimeout(function () {
                menu.setAttribute('aria-hidden', true);
            }, 200);
            menu.style.display = "block";
        }
    }
}
function cyToggleOverflowMenu ( e ) { var type = e . type , button = e . currentTarget , overflow_menu_attribute = button . getAttribute ( 'data-target' ) , menu = document . querySelector ( overflow_menu_attribute ) ; if ( menu != null ) { var menuattr = menu . getAttribute ( 'aria-hidden' ) ; if ( menuattr === 'true' ) { menu . setAttribute ( 'aria-hidden' , 'false' ) ; menu . style . display = "none" ; } else { setTimeout ( function ( ) { menu . setAttribute ( 'aria-hidden' , true ) ; } , 200 ) ; menu . style . display = "block" ; } } }
Created by Raphael Karanja on 14/08/2018.
Created by Raphael Karanja on 14 / 08 / 2018 .