fix setTimeout
This commit is contained in:
parent
24ea1ca7c0
commit
981a32f877
|
@ -360,7 +360,7 @@ function createPopup() {
|
|||
<%= erb :common %>
|
||||
|
||||
function timeout(time, yes, no) {
|
||||
var timeout = setTimeout(time, no);
|
||||
var timeout = setTimeout(no, time);
|
||||
onSuccess(function() {
|
||||
clearTimeout(timeout);
|
||||
yes()
|
||||
|
|
Loading…
Reference in New Issue
Block a user