GUACAMOLE-896: Ensure "seeking" class not erroneously assigned if seek() finishes immediately.
This commit is contained in:
1 parent
2c8bc58402
commit
b8da13243d
1 file changed
+3
-3
@@ -211,6 +211,9 @@
|
|||||||
// Seek within recording if slider is moved
|
// Seek within recording if slider is moved
|
||||||
positionSlider.onchange = function sliderPositionChanged() {
|
positionSlider.onchange = function sliderPositionChanged() {
|
||||||
|
|
||||||
|
// Seek is in progress
|
||||||
|
player.className = 'seeking';
|
||||||
|
|
||||||
// Request seek
|
// Request seek
|
||||||
recording.seek(positionSlider.value, function seekComplete() {
|
recording.seek(positionSlider.value, function seekComplete() {
|
||||||
|
|
||||||
@@ -219,9 +222,6 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Seek is in progress
|
|
||||||
player.className = 'seeking';
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
Reference in new issue
Block a user