1$(function () { 2 $(document).on('click', '.app-block .app-content .app-action .action-left input[type="checkbox"]', function () { 3 $('.app-lists ul li input[type="checkbox"]').prop('checked', $(this).prop('checked')); 4 if ($(this).prop('checked')) { 5 $('.app-lists ul li input[type="checkbox"]').closest('li').addClass('active'); 6 } else { 7 $('.app-lists ul li input[type="checkbox"]').closest('li').removeClass('active'); 8 } 9 }); 10 11 $(document).on('click', '.app-lists ul li input[type="checkbox"]', function () { 12 if ($(this).prop('checked')) { 13 $(this).closest('li').addClass('active'); 14 } else { 15 $(this).closest('li').removeClass('active'); 16 } 17 }); 18 19 $(document).on('click', '.app-block .app-content .app-content-body .app-lists ul.list-group li.list-group-item', function (e) { 20 if (!$(e.target).is('.custom-control, .custom-control *, a, a *')) { 21 $('.app-detail').addClass('show').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function () { 22 $('.app-block .app-content .app-content-body .app-detail .app-detail-article').niceScroll().resize(); 23 }); 24 } 25 }); 26 27 $(document).on('click', 'a.app-detail-close-button', function () { 28 $('.app-detail').removeClass('show'); 29 return false; 30 }); 31 32 $(document).on('click', '.app-sidebar-menu-button', function () { 33 $('.app-block .app-sidebar, .app-content-overlay').addClass('show'); 34 $.createOverlay(); 35 return false; 36 }); 37 38 $(document).on('click', '.overlay', function () { 39 $('.app-block .app-sidebar, .app-content-overlay').removeClass('show'); 40 }); 41});
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.