返回资讯中心
外部精选
软件工程
#开发者实时流

Is Datadog Down

function showChangeNumber(incidentCode) {

Hacker News 最新humanlion872026/10/28 · 2 天前4 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

, data: { phone_number: phoneNumber, phone_country: countryCode, incident_code: incidentCode, type: 'resend' }, }).done(onSuccess); }

function showChangeNumber(incidentCode) { $('#btn-change-number-incident-' + incidentCode).css('display', 'block'); $('#btn-subcriber-send-otp-' + incidentCode).css('display', 'none'); $('#otp-field-' + incidentCode).val('').prop('disabled', false); $('#phone-number-' + incidentCode).prop('readOnly', true); $('#resend-otp-'+ incidentCode).css('display', 'block'); var display = $('#countdown-incident-' + incidentCode); startTimerIncident(RESEND_TIMER, display, incidentCode) }

function showSendOTP(incidentCode) { $('#btn-change-number-incident-' + incidentCode).css('display', 'none'); $('#btn-subcriber-send-otp-' + incidentCode).css('display', 'block'); $('#otp-field-' + incidentCode).val('').prop('disabled', true); $('#phone-number-' + incidentCode).prop('readOnly', false); $('#resend-otp-'+ incidentCode).css('display', 'none'); $('#timer-incident-'+ incidentCode).css('display', 'none'); clearInterval(countdownTimers[incidentCode]); }

function startTimerIncident(duration, display, incidentCode){ var timerIncident = duration, seconds; clearInterval(countdownTimers[incidentCode]); countdownTimers[incidentCode] = setInterval(function () { seconds = parseInt(timerIncident % 60, 10); display.text(seconds); $('#timer-incident-'+ incidentCode).css('display', 'block'); if(--timerIncident

<div class=

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →