var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;


$(document).ready(function () {


    $(".button-menu-right").click(function (e) {
        e.preventDefault();
        $("body").toggleClass("toggled");
    });

    $(".title-controll").click(function (e) {
        e.preventDefault();
        $(this).toggleClass('open');
        $(this).closest('.sidebar-wrapper__admin').find("#_145_navAddControls").slideToggle(200);
    });

    $(".notification-header__dropdown .user-notification-link").click(function (e) {
        e.preventDefault();
        $(this).closest('#_2_WAR_notificationsportlet_userNotifications').find(".dockbar-user-notifications-container").toggleClass("open");
    });

    $("#_145_dockbarbodyContent .user-notification-link").click(function (e) {
        e.preventDefault();
        $(this).closest('#_2_WAR_notificationsportlet_userNotifications').find(".user-notifications-list").slideToggle(200);
    });

   /* $('.lfr-menu-expanded').click(function() {
        $(this).find( "li" ).toggle();
    });*/


});