app/assets/javascripts/spotlight/spotlight.js in blacklight-spotlight-4.3.3 vs app/assets/javascripts/spotlight/spotlight.js in blacklight-spotlight-4.3.4

- old
+ new

@@ -785,11 +785,11 @@ { var lists = this, retval = this; var generateUid = function (separator) { - var delim = "-"; + var delim = separator || "-"; function S4() { return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); } @@ -5139,11 +5139,10 @@ $this.data('scrollTimeout', setTimeout(callback, 250, self)); }); }; // Place all the behaviors and hooks related to the matching controller here. - // All this logic will automatically be available in application.js. class Pages { connect(){ SirTrevor.setDefaults({ iconUrl: Spotlight.sirTrevorIcon, @@ -5606,11 +5605,9 @@ } } } // Visibility toggle for items in an exhibit, based on Blacklight's bookmark toggle - // See: https://github.com/projectblacklight/blacklight/blob/main/app/javascript/blacklight/bookmark_toggle.js - const VisibilityToggle = (e) => { if (e.target.matches('[data-checkboxsubmit-target="checkbox"]')) { const form = e.target.closest('form'); if (form) {