1/** 2 * Subscriptio Plugin Frontend Scripts 3 */ 4jQuery(document).ready(function() { 5 6 'use strict'; 7 8 /** 9 * Prompt user to confirm actions 10 */ 11 jQuery('#subscriptio_button_pause_subscription').click(function(e) { 12 e.preventDefault(); 13 if (confirm(subscriptio_vars.confirm_pause)) { 14 window.location = this.href; 15 } 16 }); 17 jQuery('#subscriptio_button_resume_subscription').click(function(e) { 18 e.preventDefault(); 19 if (confirm(subscriptio_vars.confirm_resume)) { 20 window.location = this.href; 21 } 22 }); 23 jQuery('#subscriptio_button_cancel_subscription').click(function(e) { 24 e.preventDefault(); 25 if (confirm(subscriptio_vars.confirm_cancel)) { 26 window.location = this.href; 27 } 28 }); 29 30});
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.