File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ type PluginOptions = {
17
17
/** Containers to animate in parallel */
18
18
containers : string [ ] ;
19
19
/** Number of previous containers to keep around after the animation */
20
- keep : number | { [ container : string ] : number } ;
20
+ keep : number | { [ container : string ] : number } ;
21
21
} ;
22
22
23
23
type ContainerSet = {
@@ -202,10 +202,7 @@ export default class SwupParallelPlugin extends Plugin {
202
202
protected visitHasPotentialParallelAnimation ( visit : Visit ) {
203
203
// Checking for visit.animation.parallel !== false here allows explicitly
204
204
// disabling parallel animations in user hooks before this plugin executes
205
- return (
206
- visit . animation . parallel !== false &&
207
- this . visitHasParallelContainers ( visit )
208
- ) ;
205
+ return visit . animation . parallel !== false && this . visitHasParallelContainers ( visit ) ;
209
206
}
210
207
211
208
/** Check if any of a visit's containers are animated in parallel */
You can’t perform that action at this time.
0 commit comments