1var FI; 2(function (FI) { 3 var Wcms; 4 (function (Wcms) { 5 var News; 6 (function (News) { 7 class CNewsletterSubscribe { 8 //=========================================================================================== 9 /** Init 10 */ 11 static Init() { 12 // register click event for ReloadCaptcha buttons 13 $(document).find('input.js-reload-captcha').click(function (oEvent) { 14 CNewsletterSubscribe.ReloadCaptcha(); 15 }); 16 if ($(document).find('input.js-reload-captcha').length > 0) { 17 CNewsletterSubscribe.ReloadCaptcha(); 18 } 19 } 20 } 21 //=========================================================================================== 22 /** ReloadCaptcha 23 */ 24 CNewsletterSubscribe.ReloadCaptcha = () => { 25 var oDate = new Date; 26 var jCaptchaImage = $(document).find('img[data-fi-captcha-show-url]'); 27 var strShowUrl = jCaptchaImage.attr("data-fi-captcha-show-url"); 28 jCaptchaImage.attr("src", strShowUrl + '×tamp=' + oDate.getTime()); 29 return false; 30 }; 31 News.CNewsletterSubscribe = CNewsletterSubscribe; 32 })(News = Wcms.News || (Wcms.News = {})); 33 })(Wcms = FI.Wcms || (FI.Wcms = {})); 34})(FI || (FI = {})); 35// jQuery ready 36$(document).ready(FI.Wcms.News.CNewsletterSubscribe.Init); 37//# sourceMappingURL=NewsletterSubscribe.js.map
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.