1/** 2 * This script adds the jquery effects to the Altitude Pro Theme. 3 * 4 * @package Altitude Pro\JS 5 * @author StudioPress 6 * @license GPL-2.0-or-later 7 */ 8 9jQuery( function( $ ) { 10 11/* 12 if ( 0 < $( document ).scrollTop() ) { 13 $( '.site-header' ).addClass( 'dark' ); 14 } 15 16 // Add opacity class to site header. 17 $( document ).on( 'scroll', function() { 18 19 if ( 0 < $( document ).scrollTop() ) { 20 $( '.site-header' ).addClass( 'dark' ); 21 22 } else { 23 $( '.site-header' ).removeClass( 'dark' ); 24 } 25 26 }); 27*/ 28 29});
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.