File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ onMounted(() => {
4141
4242watch (isActive , (newValue , oldValue ) => {
4343 /*
44- * @see https://github.com/GouvernementFR/dsfr/blob/main/src/core/script/collapse/collapse.js
44+ * @see https://github.com/GouvernementFR/dsfr/blob/main/src/dsfr/ core/script/collapse/collapse.js
4545 */
4646 if (newValue !== oldValue ) {
4747 doExpand (newValue )
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ export const useCollapsable = () => {
3232 }
3333 if ( newValue === true ) {
3434 // unbound
35- // @see https://github.com/GouvernementFR/dsfr/blob/main/src/core/script/collapse/collapse.js#L33
35+ // @see https://github.com/GouvernementFR/dsfr/blob/main/src/dsfr/ core/script/collapse/collapse.js
3636 collapse . value . style . setProperty ( '--collapse-max-height' , 'none' )
3737 }
3838 // We need to wait for the next RAF to be sure the CSS variable will be set
39- // DSFR use RAF too https://github.com/GouvernementFR/dsfr/blob/main/src/core/script/api/modules/render/renderer.js#L22
39+ // DSFR use RAF too https://github.com/GouvernementFR/dsfr/blob/main/src/dsfr/ core/script/api/modules/render/renderer.js#L22
4040 window . requestAnimationFrame ( ( ) => {
4141 collapsing . value = true
4242 adjust ( )
@@ -53,7 +53,7 @@ export const useCollapsable = () => {
5353 * @param {boolean } focusFirstAnchor
5454 * @return void
5555 */
56- const onTransitionEnd = ( expanded : boolean , autoFocus : boolean = true ) : void => {
56+ const onTransitionEnd = ( expanded : boolean , autoFocus = true ) : void => {
5757 collapsing . value = false
5858 if ( autoFocus ) {
5959 collapse . value ?. querySelector ( 'a' ) ?. focus ( )
You canât perform that action at this time.
0 commit comments