Skip to content

Commit

Permalink
Add missing variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-steve committed Jan 16, 2025
1 parent a3dcdac commit 6ef12f2
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 6ef12f2

Please sign in to comment.