mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 14:37:23 +03:00
Fix warnings
This commit is contained in:
@@ -585,6 +585,7 @@ input::-webkit-inner-spin-button {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
-moz-appearance: textfield;
|
-moz-appearance: textfield;
|
||||||
|
appearance: textfield;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sponsorTimeEditInput {
|
.sponsorTimeEditInput {
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[]
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeIf(value: string, matchers: Array<{ matcher: RegExp, condition?: (value: string) => boolean }>): string {
|
function removeIf(value: string, matchers: Array<{ matcher: RegExp; condition?: (value: string) => boolean }>): string {
|
||||||
let result = value;
|
let result = value;
|
||||||
for (const matcher of matchers) {
|
for (const matcher of matchers) {
|
||||||
if (!matcher.condition || matcher.condition(value)) {
|
if (!matcher.condition || matcher.condition(value)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user