src/extensions/default/RecentProjects/main.js
function checkHovers(pageX, pageY) {
        $dropdown.children().each(function () {
            var offset = $(this).offset(),
                width  = $(this).outerWidth(),
                height = $(this).outerHeight();

            if (pageX >= offset.left && pageX <= offset.left + width &&
                    pageY >= offset.top && pageY <= offset.top + height) {
                $(".recent-folder-link", this).triggerHandler("mouseenter");
            }
        });
    }
function checkHovers(pageX, pageY) {
        $dropdown.children().each(function () {
            var offset = $(this).offset(),
                width  = $(this).outerWidth(),
                height = $(this).outerHeight();

            if (pageX >= offset.left && pageX <= offset.left + width &&
                    pageY >= offset.top && pageY <= offset.top + height) {
                $(".recent-folder-link", this).triggerHandler("mouseenter");
            }
        });
    }
function checkHovers ( pageX , pageY ) { $dropdown . children ( ) . each ( function ( ) { var offset = $ ( this ) . offset ( ) , width = $ ( this ) . outerWidth ( ) , height = $ ( this ) . outerHeight ( ) ; if ( pageX >= offset . left && pageX <= offset . left + width && pageY >= offset . top && pageY <= offset . top + height ) { $ ( ".recent-folder-link" , this ) . triggerHandler ( "mouseenter" ) ; } } ) ; }
Check the list of items to see if any of them are hovered, and if so trigger a mouseenter.
Normally the mouseenter event handles this, but when a previous item is deleted and the next
item moves up to be underneath the mouse, we don't get a mouseenter event for that item.
Check the list of items to see if any of them are hovered and if so trigger a mouseenter . Normally the mouseenter event handles this but when a previous item is deleted and the next item moves up to be underneath the mouse we don t get a mouseenter event for that item .