Add a timeout of 500ms before settings click event
This commit is contained in:
parent
314f22fe00
commit
05bafd464b
|
|
@ -566,6 +566,9 @@ var tarteaucitron = {
|
|||
}, 1500);
|
||||
}
|
||||
|
||||
// add a little timeout to be sure everything is accessible
|
||||
setTimeout(function () {
|
||||
|
||||
// Setup events
|
||||
tarteaucitron.addClickEventToId("tarteaucitronPersonalize", function () {
|
||||
tarteaucitron.userInterface.openPanel();
|
||||
|
|
@ -628,6 +631,8 @@ var tarteaucitron = {
|
|||
tarteaucitron.userInterface.respond(this, false);
|
||||
});
|
||||
}
|
||||
}, 500);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue