mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
Fix code style issues
This commit is contained in:
parent
4d59d04187
commit
6883bfec69
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
await new Promise(requestAnimationFrame);
|
||||
await new Promise(requestAnimationFrame);
|
||||
expandHeight = collapsibleElement.clientHeight;
|
||||
|
||||
|
||||
animating = true;
|
||||
size.set(1, {
|
||||
duration: duration || dynamicDuration(expandHeight, 25),
|
||||
|
@ -52,7 +52,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
$: animating = $size > 0 && !(collapsed || expanded);
|
||||
|
||||
$: height = $size * expandHeight;
|
||||
$: measuring = !(collapsed || animating || expanded)
|
||||
$: measuring = !(collapsed || animating || expanded);
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue