Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into experimental

This commit is contained in:
Ajay Ramachandran 2020-02-17 11:24:36 -05:00
commit 023ba2e051
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "__MSG_Name__",
"version": "1.2.12",
"version": "1.2.13",
"default_locale": "en",
"description": "__MSG_Description__",
"content_scripts": [{
@ -67,4 +67,4 @@
"open_in_tab": true
},
"manifest_version": 2
}
}

View file

@ -671,7 +671,7 @@ async function runThePopup(messageListener?: MessageListener) {
let minutes = <HTMLInputElement> <unknown> document.getElementById(idStartName + "Minutes" + index);
let seconds = <HTMLInputElement> <unknown> document.getElementById(idStartName + "Seconds" + index);
return parseInt(minutes.value) * 60 + parseInt(seconds.value);
return parseInt(minutes.value) * 60 + parseFloat(seconds.value);
}
function saveSponsorTimeEdit(index, closeEditMode = true) {
@ -1128,4 +1128,4 @@ if (chrome.tabs != undefined) {
runThePopup();
}
export default runThePopup;
export default runThePopup;