1$(document).ready(function () { 2 StartOTPCounter($(".jky-input-otp")) 3 4 function ChangeTab(HashValue) 5 { 6 if (HashValue == "#phone") 7 { 8 $(".input-container-email").removeClass("tab-content-visible"); 9 $(".input-container-phone").addClass("tab-content-visible"); 10 $(".tab-container .jky-tab").siblings(".jky-active-tab").removeClass("jky-active-tab") 11 $(".tab-container .phone-tab").addClass("jky-active-tab") 12 } 13 else 14 { 15 $(".input-container-email").addClass("tab-content-visible"); 16 $(".input-container-phone").removeClass("tab-content-visible"); 17 $(".tab-container .jky-tab").siblings(".jky-active-tab").removeClass("jky-active-tab") 18 $(".tab-container .email-tab").addClass("jky-active-tab") 19 } 20 } 21 22 function RegisterHashChange() 23 { 24 ChangeTab(location.hash) 25 $(window).on("hashchange", function() { 26 ChangeTab(location.hash) 27 }).trigger("hashchange") 28 } 29 30 RegisterHashChange() 31 32 $(".tab-container .jky-tab").click(function (e) { 33 if($(this).hasClass("phone-tab")) 34 { 35 location.hash = "#phone" 36 } 37 else 38 { 39 location.hash = "#email" 40 } 41 }); 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.