1jQuery(document).ready(function($) { 2 3 /** 4 * Expanded mode, special JS for animating the progress bar 5 * @param {[type]} $ [description] 6 * @return {[type]} [description] 7 */ 8 9 if( $('.learndash-wrapper').hasClass('lds-template-expanded') ) { 10 11 $('.ld-status-icon.ld-status-in-progress').each(function() { 12 $(this).parents('.ld-lesson-item').addClass('learndash-in-progress'); 13 }); 14 15 } 16 17 $('.wpProQuiz_incorrect').each(function(e) { 18 $(this).parent().addClass('ldvc-strip-response'); 19 }); 20 21 if( typeof ldvc != "undefined" ) { 22 23 if( typeof ldvc.template != "undefined" && !$('.learndash-wrapper').hasClass( 'lds-template-' + ldvc.template ) ) { 24 25 $('.learndash-wrapper').each(function(e) { 26 27 if( !$(this).find('#ld-profile').length ) { 28 $(this).addClass( 'lds-template-' + ldvc.template ); 29 } 30 31 }); 32 33 } 34 35 } 36 37});
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.