Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard 3d82116830
Bug 36566: Correct eslint errors in OPAC enhanced content JS
This patch fixes various eslint errors in enhanced content JS files:

- Consistent indentation
- Remove variables which are declared but not used
- Add missing semicolons
- Add missing "var" declarations

To test, apply the patch and clear your browser cache if necessary.

- Go to Administration -> System preferences and enable these
  preferences:
  - OPACAmazonCoverImages
  - BakerTaylorEnabled
  - GoogleJackets
  - OPACLocalCoverImages
  - OpenLibraryCovers
- Go to the OPAC and confirm that covers from these services appear
  correctly in search results and on detail pages.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2024-07-25 11:02:38 +01:00
..
modals Bug 36950: Improve placement of catalog concern banner in the OPAC 2024-07-01 18:55:55 +02:00
amazonimages.js Bug 36566: Correct eslint errors in OPAC enhanced content JS 2024-07-25 11:02:38 +01:00
authtoresults.js
autofill.js
bakertaylorimages.js Bug 36566: Correct eslint errors in OPAC enhanced content JS 2024-07-25 11:02:38 +01:00
basket.js
browse.js
browserid_include.js
coce.js
cookieconsent.js
datatables.js Bug 37257: Enable translation of Copy control in OPAC user summary 2024-07-09 14:56:04 +02:00
form-submit.js Bug 37111: Add submit-form asset to OPAC assets 2024-07-22 07:34:02 +01:00
Gettext.js
global.js Bug 36651: Add placeholder text to the search bar in the OPAC 2024-06-21 15:02:58 +02:00
google-jackets.js Bug 36566: Correct eslint errors in OPAC enhanced content JS 2024-07-25 11:02:38 +01:00
i18n.js
ill-availability.js
localcovers.js Bug 36566: Correct eslint errors in OPAC enhanced content JS 2024-07-25 11:02:38 +01:00
openlibrary.js Bug 36566: Correct eslint errors in OPAC enhanced content JS 2024-07-25 11:02:38 +01:00
overdrive.js
privacy.js
ratings.js
results-list.js Bug 36557: Convert Cart and Lists controls to buttons and rework logic 2024-07-01 18:55:43 +02:00
tags.js
verovio.js