1(function () { 2 var optionPeriodMap = { 3 option1: "month", 4 5 option2: "year", 6 }; 7 8 var switchPeriod = function () { 9 var showOption = $('input[name="options"]:checked').attr("id"); 10 11 var hideOption = $('input[name="options"]:not(:checked)').attr("id"); 12 13 var showPeriod = optionPeriodMap[showOption]; 14 15 var hidePeriod = optionPeriodMap[hideOption]; 16 17 $("div." + hidePeriod).hide(); 18 19 $("div." + showPeriod).show(); 20 }; 21 22 $(document).ready(function () { 23 switchPeriod(); 24 }); 25 26 $(document).on("change", 'input[name="options"]', function () { 27 switchPeriod(); 28 }); 29 30 $(document).ready(function () { 31 $("a[title='Forgot Password?']").attr("href", "/forgot-password"); 32 }); 33})();
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.