1
0
Fork 0

Add missing close bracket in imagediff (#22710)

There was a missing `]` in imagediff.js:

```
const $range = $container.find("input[type='range'"); 
```

This PR simply adds this.

Fix #22702
This commit is contained in:
zeripath 2023-02-01 11:48:35 +00:00 committed by GitHub
parent 72a83dcc82
commit 9f9a1ce922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,7 +263,7 @@ export function initImageDiff() {
height: sizes.max.height * factor + 4 height: sizes.max.height * factor + 4
}); });
const $range = $container.find("input[type='range'"); const $range = $container.find("input[type='range']");
const onInput = () => sizes.image1.parent().css({ const onInput = () => sizes.image1.parent().css({
opacity: $range.val() / 100 opacity: $range.val() / 100
}); });