Skip to content

Commit 36debf4

Browse files
committed
Update comments
1 parent 3f6023e commit 36debf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lightbox/tp-lightbox-nav.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ export class TPLightboxNavElement extends HTMLElement {
2020
// Initialize parent.
2121
super();
2222

23-
// Get the template.
23+
// Initialize properties.
2424
this.template = this.querySelector( 'template' );
2525
this.lightbox = this.closest( 'tp-lightbox' );
2626

27-
// Set the template.
27+
// Add event listener.
2828
this.lightbox?.addEventListener( 'template-set', this.setTemplate.bind( this ) );
2929
}
3030

0 commit comments

Comments
 (0)