fix js style

pull/2264/head
Ayrat Badykov 5 years ago
parent 2c35ec1507
commit 12742fa9e6
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 22
      apps/block_scout_web/assets/js/pages/verification_form.js

@ -46,14 +46,14 @@ const elements = {
},
'[data-page="contract-verification"]': {
render ($el, state) {
if (state.newForm) {
$el.replaceWith(state.newForm)
$('button[data-button-loading="animation"]').click(event => {
$('#loading').removeClass('d-none')
})
return $el
}
return $el
if (state.newForm) {
$el.replaceWith(state.newForm)
$('button[data-button-loading="animation"]').click(event => {
$('#loading').removeClass('d-none')
})
return $el
}
return $el
}
}
}
@ -83,7 +83,7 @@ if ($contractVerificationPage.length) {
msg: humps.camelizeKeys(msg)
}))
$('button[data-button-loading="animation"]').click(event => {
$('#loading').removeClass('d-none')
})
$('button[data-button-loading="animation"]').click(event => {
$('#loading').removeClass('d-none')
})
}

Loading…
Cancel
Save