mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-896: Ensure "seeking" class not erroneously assigned if seek() finishes immediately.
This commit is contained in:
@@ -211,6 +211,9 @@
|
||||
// Seek within recording if slider is moved
|
||||
positionSlider.onchange = function sliderPositionChanged() {
|
||||
|
||||
// Seek is in progress
|
||||
player.className = 'seeking';
|
||||
|
||||
// Request seek
|
||||
recording.seek(positionSlider.value, function seekComplete() {
|
||||
|
||||
@@ -219,9 +222,6 @@
|
||||
|
||||
});
|
||||
|
||||
// Seek is in progress
|
||||
player.className = 'seeking';
|
||||
|
||||
};
|
||||
|
||||
})();
|
||||
|
Reference in New Issue
Block a user