mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
I tested for several times with/without throttling in different videos and nothing effected/no console error and fixed issue.
This commit is contained in:

committed by
Ilya Grigorik

parent
65ca4e7bcb
commit
704b3b42c5
@@ -65,9 +65,6 @@ chrome.extension.sendMessage({}, function(response) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
target.addEventListener('ratechange', function(event) {
|
target.addEventListener('ratechange', function(event) {
|
||||||
if (target.readyState === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var speed = this.getSpeed();
|
var speed = this.getSpeed();
|
||||||
this.speedIndicator.textContent = speed;
|
this.speedIndicator.textContent = speed;
|
||||||
tc.settings.speed = speed;
|
tc.settings.speed = speed;
|
||||||
|
Reference in New Issue
Block a user