src/extensions/default/NavigationAndHistory/main.js
function _movePrev() {
        var $context, $prev;

        $context = $currentContext || $("#mrof-container #mrof-list > li.highlight");
        if ($context.length > 0) {
            $prev = $context.prev();
            if ($prev.length === 0) {
                $prev = $("#mrof-container #mrof-list > li").last();
            }
            if ($prev.length > 0) {
                $currentContext = $prev;
                $prev.find("a.mroitem").trigger("focus");
            }
        } else {
            //WTF! (Worse than failure). We should not get here.
            $("#mrof-container #mrof-list > li > a.mroitem:visited").last().trigger("focus");
        }
    }
function _movePrev() {
        var $context, $prev;

        $context = $currentContext || $("#mrof-container #mrof-list > li.highlight");
        if ($context.length > 0) {
            $prev = $context.prev();
            if ($prev.length === 0) {
                $prev = $("#mrof-container #mrof-list > li").last();
            }
            if ($prev.length > 0) {
                $currentContext = $prev;
                $prev.find("a.mroitem").trigger("focus");
            }
        } else {
            //WTF! (Worse than failure). We should not get here.
            $("#mrof-container #mrof-list > li > a.mroitem:visited").last().trigger("focus");
        }
    }
function _movePrev ( ) { var $context , $prev ; $context = $currentContext || $ ( "#mrof-container #mrof-list > li.highlight" ) ; if ( $context . length > 0 ) { $prev = $context . prev ( ) ; if ( $prev . length === 0 ) { $prev = $ ( "#mrof-container #mrof-list > li" ) . last ( ) ; } if ( $prev . length > 0 ) { $currentContext = $prev ; $prev . find ( "a.mroitem" ) . trigger ( "focus" ) ; } } else { //WTF! (Worse than failure). We should not get here. $ ( "#mrof-container #mrof-list > li > a.mroitem:visited" ) . last ( ) . trigger ( "focus" ) ; } }
Opens the previous item in MROF list if pop over is visible else displays the pop over
@private
Opens the previous item in MROF list if pop over is visible else displays the pop over