mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-346: Simplify style of seek callback invocation.
This commit is contained in:
@@ -384,13 +384,10 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
|
|||||||
if (currentFrame !== index)
|
if (currentFrame !== index)
|
||||||
seekToFrame(index, callback);
|
seekToFrame(index, callback);
|
||||||
|
|
||||||
else {
|
// Notify that the requested seek has completed
|
||||||
|
else
|
||||||
// Notify that the requested seek has completed
|
|
||||||
callback();
|
callback();
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user