mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
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:
parent
72a83dcc82
commit
9f9a1ce922
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ export 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…
Reference in a new issue