Add missing close bracket in imagediff (#22710) (#22712)

Backport #22710

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

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

This PR simply adds this.

Fix #22702

Co-authored-by: zeripath <art27@cantab.net>
tokarchuk/v1.18
Yarden Shoham 2 years ago committed by GitHub
parent 263d06f616
commit 4c20be7c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_src/js/features/imagediff.js

@ -263,7 +263,7 @@ export default function initImageDiff() {
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({
opacity: $range.val() / 100
});

Loading…
Cancel
Save