1$(function () { 2 console.log('start script'); 3 $(document).on('click', '.btn-golos', function(){ 4 var _this = $(this); 5 id = _this.data('id'); 6 hash = _this.data('hash'); 7 console.log('.btn-golos:' + id + 'hash:' + hash); 8 alert('СпаÑибо за Ð²Ð°Ñ Ð³Ð¾Ð»Ð¾Ñ!'); 9 $('#bal'+id).text(1+parseInt($('#bal'+id).text())); 10 _this.addClass('disabled'); 11 _this.removeClass('btn-golos'); 12 13 postdata = { id: id, hash: hash }; 14 15 $.post('/local/ajax/vote.php', postdata, function(response) { 16 if(response.type == 'error'){ 17 $('#form_error').html(response.mess); 18 } else { 19 $('#form_error').html(response.mess); 20 } 21 22 }, "json") 23 24 return false; 25 26 }); 27 28 29 30 31 32/* 33 setTimeout(function(){ 34 $('.modal').modal('hide'); 35 $('#feedback_form').trigger('reset'); 36 $('#feedback_form').show(); 37 $('#form_error').html(''); 38 }, 5000); 39 40*/ 41 42 43}); 44function rf(obj) { 45 obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; 46} 47
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.