Comments and bugfixes

This commit is contained in:
Henrique Dias
2017-07-08 12:32:25 +01:00
parent c206bea84a
commit 55c097b2aa
4 changed files with 44 additions and 30 deletions

View File

@@ -13,7 +13,7 @@ function loading (button) {
el.classList.add('spin')
el.innerHTML = 'autorenew'
el.style.opacity = 1
}, 0)
}, 100)
}
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
}, 0)
}, 100)
}
export default {