aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-08-23 21:01:31 -0400
committerAjay Ramachandran <[email protected]>2019-08-23 21:01:31 -0400
commit781096c29095997b0e29512f2ccafc28045df462 (patch)
tree6c8dbf89abac486fd2a992379ff37bf8f5c9bfeb
parent536c6e3e41af1400e783a36c773a324453987f80 (diff)
downloadSponsorBlock-781096c29095997b0e29512f2ccafc28045df462.tar.gz
SponsorBlock-781096c29095997b0e29512f2ccafc28045df462.zip
Fixed cut off text.
-rw-r--r--content.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/content.js b/content.js
index df376d69..f460255d 100644
--- a/content.js
+++ b/content.js
@@ -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();
}
}
});