mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-03 18:49:32 +00:00
Fixed ply and selfcheck bug
If copter is disconnected from server copter.refresh() stucks in while loop
This commit is contained in:
@@ -246,7 +246,7 @@ function askPermission(text, func) {
|
||||
Ply.dialog("confirm",
|
||||
{},
|
||||
text
|
||||
).done(function (e) {
|
||||
).always(function (e) {
|
||||
if (e.state) {
|
||||
func();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user