PageSourceSearch

https://oarsi.org/sites/oarsi/themes/oarsi/js/menu_copy_add.js?v=1.x

js oarsi.org collected 2026-10-02 03:44:31 UTC 416 bytes, 9 lines download raw bytes

1//Copies top menu items into the main menu for use on mobile
2jQuery(document).ready(function ($) {
3  $('#block-useraccountmenu ul.menu--account').children('li').reverse().each(function () {
4    $(this).clone(true).removeClass('first last').addClass('moved-item').prependTo("#block-mainnavigation ul.menu--main");
5  });
6});
7jQuery.fn.reverse = function() {
8  return this.pushStack(this.get().reverse(), arguments);
9};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.