Skip to content

Commit 74e9148

Browse files
committed
Fixed typo in disableTwimg #1026
1 parent a3e1adb commit 74e9148

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/assets/javascripts/services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function regexArray(service, url, config, options, frontend) {
4646
)
4747
}
4848
if (service === "twitter" && options["twitter"].disableTwimg) {
49-
targetList = targetList.splice(2)
49+
targetList = targetList.splice(2, 1)
5050
}
5151
}
5252
for (const targetString in targetList) {

0 commit comments

Comments
 (0)