Commit 48dacee8 authored by Mikaël Salson's avatar Mikaël Salson

js/database.js: Don't remove spinner after 2s

Follows 9c512bfc
As suggested by @RyanHerb

Fixes #3531
parent 3bea32f7
Pipeline #49009 passed with stages
in 11 minutes and 18 seconds
......@@ -223,7 +223,7 @@ Database.prototype = {
} else {
target.setAttribute("disabled", "disabled")
self.ajax_indicator_start();
setTimeout(function(){target.removeAttribute("disabled"); self.ajax_indicator_stop()}, 2000)
setTimeout(function(){target.removeAttribute("disabled")}, 2000)
}
}
catch(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment