https://rroma.org/wp-content/themes/smartadapt/js/foundation/jquery.foundation.navigation.js?ver=1.0
1; 2(function ($, window, undefined) { 3 'use strict'; 4 5 $.fn.foundationNavigation = function (options) { 6 7 var lockNavBar = false; 8 // Windows Phone, sadly, does not register touch events :( 9 if (Modernizr.touch || navigator.userAgent.match(/Windows Phone/i)) { 10 $(document).on('click.fndtn touchstart.fndtn', '.nav-bar a.flyout-toggle', function (e) { 11 e.preventDefault(); 12 var flyout = $(this).siblings('.flyout').first(); 13 if (lockNavBar === false) { 14 $('.nav-bar .flyout').not(flyout).slideUp(500); 15 flyout.slideToggle(500, function () { 16 lockNavBar = false; 17 }); 18 } 19 lockNavBar = true; 20 }); 21 $('.nav-bar>li.has-flyout', this).addClass('is-touch'); 22 } else { 23 $('.nav-bar>li.has-flyout', this).on('mouseenter mouseleave', function (e) { 24 if (e.type == 'mouseenter') { 25 $('.nav-bar').find('.flyout').hide(); 26 $(this).children('.flyout').show(); 27 } 28 29 if (e.type == 'mouseleave') { 30 var flyout = $(this).children('.flyout'), 31 inputs = flyout.find('input'), 32 hasFocus = function (inputs) { 33 var focus; 34 if (inputs.length > 0) { 35 inputs.each(function () { 36 if ($(this).is(":focus")) { 37 focus = true; 38 } 39 }); 40 return focus; 41 } 42 43 return false; 44 }; 45 46 if (!hasFocus(inputs)) { 47 $(this).children('.flyout').hide(); 48 } 49 } 50 51 }); 52 } 53 54 }; 55 56})(jQuery, this);
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.