GUACAMOLE-346: Simplify style of seek callback invocation.

This commit is contained in:
Michael Jumper
2017-07-15 16:16:26 -07:00
parent 21eadec6a4
commit b41311f1ed

View File

@@ -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);
}; };