aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/background.ts
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-03-11 19:35:20 -0400
committerAjay Ramachandran <[email protected]>2020-03-11 19:35:20 -0400
commit3063591a4c147212b128001aae62eaf6e2ee224d (patch)
tree7cb453b3899dc4e74c5005aaae1992d44d630d1f /src/background.ts
parenta18235425499d1ecb508652957b73056a1fe080a (diff)
downloadSponsorBlock-3063591a4c147212b128001aae62eaf6e2ee224d.tar.gz
SponsorBlock-3063591a4c147212b128001aae62eaf6e2ee224d.zip
Added delete function to new dialog
Diffstat (limited to 'src/background.ts')
-rw-r--r--src/background.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background.ts b/src/background.ts
index d0508d2c..9fedf5fc 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -187,7 +187,7 @@ async function submitTimes(videoID, callback) {
let userID = Config.config.userID;
if (sponsorTimes != undefined && sponsorTimes.length > 0) {
- let durationResult = <Types.videoDurationResponse> await new Promise((resolve, reject) => {
+ let durationResult = <Types.VideoDurationResponse> await new Promise((resolve, reject) => {
chrome.tabs.query({
active: true,
currentWindow: true