Removed unnecessary anonymous function

This commit is contained in:
Tobias Reich 2016-02-13 23:32:13 +01:00
parent 4e1e3cb2ee
commit 60e4a06df8

View File

@ -18,7 +18,7 @@ api.post = function(fn, params, callback) {
const success = (data) => {
setTimeout(() => loadingBar.hide(), 100)
setTimeout(loadingBar.hide, 100)
// Catch errors
if (typeof data==='string' && data.substring(0, 7)==='Error: ') {