Skip to content

Commit

Permalink
Merge pull request #175 from projectblacklight/missing-var-def
Browse files Browse the repository at this point in the history
Add missing variable declaration
  • Loading branch information
jcoyne authored Jan 16, 2025
2 parents a3dcdac + 6ef12f2 commit a8635da
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/javascript/blacklight-gallery/slideshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ import Blacklight from 'blacklight-frontend'
$(document).on('click', '[data-slide], [data-bs-slide], [data-slide-to], [data-bs-slide-to]', function(e) {
e.preventDefault();

pos = parseInt($(this).attr('data-slide-to') || $(this).attr('data-bs-slide-to'), 10) ||
const pos = parseInt($(this).attr('data-slide-to') || $(this).attr('data-bs-slide-to'), 10) ||
$(this).attr('data-slide') ||
$(this).attr('data-bs-slide');

Expand Down

0 comments on commit a8635da

Please sign in to comment.