mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-346: Require seek callback internally, for sake of simplicity.
This commit is contained in:
@@ -325,7 +325,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
|
||||
* The index of the frame which should become the new playback
|
||||
* position.
|
||||
*
|
||||
* @param {function} [callback]
|
||||
* @param {function} callback
|
||||
* The callback to invoke once the seek operation has completed.
|
||||
*/
|
||||
var seekToFrame = function seekToFrame(index, callback) {
|
||||
@@ -387,8 +387,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
|
||||
else {
|
||||
|
||||
// Notify that the requested seek has completed
|
||||
if (callback)
|
||||
callback();
|
||||
callback();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user