1(function ($) { 2 'use strict'; 3 4 // btn more 5 $(document).on('click.site', '.btn-more', function(e) { 6 var $dp = $(this).next('.dropdown-menu'); 7 if( $dp.html() == "" ){ 8 $dp.append('<a class="dropdown-item" href="#"><i class="fa fa-plus fa-fw text-left"></i> Add to Queque</a><a class="dropdown-item" href="#"><i class="fa fa-music fa-fw text-left"></i> Add to Playlist</a><div class="dropdown-divider"></div><a class="dropdown-item" href="#"><i class="fa fa-share-alt fa-fw text-left"></i> Share</a>'); 9 } 10 11 if( (e.pageY + $dp.height() + 60) > $('body').height() ){ 12 $dp.parent().addClass('dropup'); 13 } 14 15 if( e.pageX < $dp.width() ){ 16 $dp.removeClass('pull-right'); 17 } 18 19 }); 20 21 $(document).on('click.site', '#search-result a', function(e) { 22 $(this).closest('.modal').modal('hide'); 23 }); 24 25})(jQuery);
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.