Updates on errors

This commit is contained in:
Henrique Dias
2017-07-08 11:51:24 +01:00
parent 5eab62e0aa
commit c206bea84a
9 changed files with 86 additions and 18 deletions

View File

@@ -13,7 +13,7 @@ function loading (button) {
el.classList.add('spin')
el.innerHTML = 'autorenew'
el.style.opacity = 1
}, 200)
}, 0)
}
function done (button, success = true) {
@@ -30,7 +30,7 @@ function done (button, success = true) {
el.classList.remove('spin')
el.innerHTML = el.dataset.icon
el.style.opacity = 1
}, 200)
}, 0)
}
export default {