Skip to content

Commit

Permalink
Force script rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Mar 22, 2024
1 parent 08dbe25 commit c0fb9cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Resources/Private/JavaScript/DigitalcollectionsScripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ window.DigitalCollections = (function (dc) {

$(function () {

// inital javascript "hello, i'm here!"
// initial javascript "hello, i'm here!"
$('html').removeClass('no-js');

// menu toggles for offcanvas toc and metadata
Expand All @@ -47,10 +47,10 @@ $(function () {

// calendar dropdowns on click/touch
$('.calendar-view div.issues h4').on('click', function (event) {
var issuelinks = $(this).parents('div.issues').find('div ul li a');
if (issuelinks.length == 1) {
var issueLinks = $(this).parents('div.issues').find('div ul li a');
if (issueLinks.length == 1) {
// if only one issue, open this directly
window.open(issuelinks[0].href, '_self');
window.open(issueLinks[0].href, '_self');
} else {
$('.calendar-view table td.open').not($(this).parents('td')).removeClass('open');
$(this).parents('td').toggleClass('open');
Expand Down
Loading

0 comments on commit c0fb9cc

Please sign in to comment.