GUACAMOLE-346: Simplify style of seek callback invocation.
This commit is contained in:
1 parent
21eadec6a4
commit
b41311f1ed
1 file changed
+2
-5
@@ -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