Sha256: 762d9b9d15e9520322168837fb4c1fa25b6aa64fb4098a945a69856aecfff1b5
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"%forever_style_guide/nav-fixed.js; FI" pathname; TI"i/Users/AWeinstein/github/forever-style-guide/app/assets/javascripts/forever_style_guide/nav-fixed.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+e?»WI"length; TiI"digest; TI"%e14fb679ec92a8ef9ea2ca706dabceac; FI"source; TI"$(function () { $('#header-is_fixed .dropdown').on('shown.bs.dropdown', function () { var windowHeight = $(window).height(); // this timeout allows for the dropdown item to fully expand before height is calculated setTimeout(function() { var navHeight = ($('#header-is_fixed').outerHeight()); if (navHeight >= windowHeight) { $('body').addClass('body-fixed'); $('#header-is_fixed').css('max-height', windowHeight); $('#header-is_fixed').addClass('is_scrolling'); }; }, 250); $('.popover.account-popover').popover('hide'); }) // unfix body on dropdown close $('#header-is_fixed .dropdown').on('hidden.bs.dropdown', function () { $('body').removeClass('body-fixed'); $('#header-is_fixed').removeClass('is_scrolling'); }) // unfix body on toggle nav close $('#header-is_fixed .navbar-collapse').on('hidden.bs.collapse', function () { $('body').removeClass('body-fixed'); $('#header-is_fixed').removeClass('is_scrolling'); }) }); ; TI"dependency_digest; TI"%d315d599d8e043529eb415da9a1d0065; FI"required_paths; T[I"i/Users/AWeinstein/github/forever-style-guide/app/assets/javascripts/forever_style_guide/nav-fixed.js; FI"dependency_paths; T[{I" path; TI"i/Users/AWeinstein/github/forever-style-guide/app/assets/javascripts/forever_style_guide/nav-fixed.js; F@I"2016-08-22T14:07:33-04:00; T@I"%e14fb679ec92a8ef9ea2ca706dabceac; FI" _version; TI"%2be930bcbfd3c3e00190e2193dda5c7c; F
Version data entries
2 entries across 2 versions & 1 rubygems