1$(function(){ 2 3 $('#tipus, #tipusmobile').on('click', function(){ 4 5 $('#tipsuccess').hide(); 6 $('#tiperror').hide(); 7 $('#tipwrapper').show(); 8 $('.grecaptcha-badge').show(); 9 $('.grecaptcha-badge').css('z-index', '9999'); 10 11 grecaptcha.ready(function() { 12 grecaptcha.execute('6LfMs34UAAAAAI2fHCja1sWCW4Ov2pfeBXaek43N', {action: 'action_name'}) 13 .then(function(token) { 14 15 $('#tiptoken').val( token ); 16 }); 17 }); 18 }); 19 20 $('#tipform').submit(function(e) { 21 22 e.preventDefault(); 23 24 $.post( "/services/tipsaoss", $('#tipform').serialize(), function( result ) { 25 26 if( result == 'success' ) { 27 28 $('#tipsuccess').show(); 29 $('#tipwrapper').hide(); 30 31 } 32 if( result == 'error' ) { 33 34 $('#tiperror').show(); 35 } 36 }); 37 }); 38 39 UIkit.util.on('#modal-tips', 'hide', function () { 40 41 $('.grecaptcha-badge').hide(); 42 }); 43 44});
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.