Skip to content

Commit

Permalink
Fix typo in readmore.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrini authored Apr 8, 2024
1 parent 93a2c35 commit 73b70f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/plugins/openlibrary/js/readmore.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class ReadMoreComponent {
attach() {
this.$readMoreButton.addEventListener('click', this.readMoreClick);
this.$readLessButton.addEventListener('click', this.readLessClick);
window.addEventListener('resize', debounce(() => this.reset()), 50);
window.addEventListener('resize', debounce(() => this.reset(), 50));

this.reset();
}
Expand Down

0 comments on commit 73b70f6

Please sign in to comment.