templates/default/fulldoc/html/js/app.js in yard-0.9.5 vs templates/default/fulldoc/html/js/app.js in yard-0.9.6

- old
+ new

@@ -53,26 +53,26 @@ toggleSearchFrame(this, $(this).attr('href')); return false; }); window.addEventListener('message', function(e) { if (e.data === 'navEscape') { - $('#search_frame').slideUp(100); + $('#nav').slideUp(100); $('#search a').removeClass('active inactive'); $(window).focus(); } }); $(window).resize(function() { if ($('#search:visible').length === 0) { - $('#search_frame').slideUp(100); + $('#nav').removeAttr('style'); $('#search a').removeClass('active inactive'); $(window).focus(); } }); } function toggleSearchFrame(id, link) { - var frame = $('#search_frame'); + var frame = $('#nav'); $('#search a').removeClass('active').addClass('inactive'); if (frame.attr('src') === link && frame.css('display') !== "none") { frame.slideUp(100); $('#search a').removeClass('active inactive'); }