diff options
author | Ajay Ramachandran <[email protected]> | 2019-08-23 21:01:31 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2019-08-23 21:01:31 -0400 |
commit | 781096c29095997b0e29512f2ccafc28045df462 (patch) | |
tree | 6c8dbf89abac486fd2a992379ff37bf8f5c9bfeb | |
parent | 536c6e3e41af1400e783a36c773a324453987f80 (diff) | |
download | SponsorBlock-781096c29095997b0e29512f2ccafc28045df462.tar.gz SponsorBlock-781096c29095997b0e29512f2ccafc28045df462.zip |
Fixed cut off text.
-rw-r--r-- | content.js | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -278,15 +278,16 @@ function videoIDChange(id) { if (sponsorTimes != null && sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length >= 2) { changeStartSponsorButton(true, true); } else if (sponsorTimes != null && sponsorTimes.length > 0 && sponsorTimes[sponsorTimes.length - 1].length < 2) { - changeStartSponsorButton(false, true); + changeStartSponsorButton(false, true); } else { changeStartSponsorButton(true, false); - } + } + //see if this data should be saved in the sponsorTimesSubmitting variable if (sponsorTimes != undefined && sponsorTimes.length > 0) { sponsorTimesSubmitting = sponsorTimes; - pdatePreviewBar(); + updatePreviewBar(); } } }); |