Skip to content

Commit

Permalink
Fix: linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed May 13, 2024
1 parent b7e874e commit 88f1b10
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions htdocs/js/modalRadioFavoriteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,22 @@
/** @module modalRadioWebradiodbDetail_js */

/**
* Shows the details of a webradioDB entry
* Shows the details of a webradio favorites entry
* @param {string} uri webradio uri
* @returns {void}
*/
//eslint-disable-next-line no-unused-vars
function showRadioFavoriteDetails(uri) {
cleanupModalId('modalRadiobrowserDetailsList');
elHideId('modalRadiobrowserDetailsAddToFavoriteBtn');
sendAPI('MYMPD_API_WEBRADIO_FAVORITE_GET', {'filename': uri}, parseShowRadioFavoriteDetails, true)
sendAPI('MYMPD_API_WEBRADIO_FAVORITE_GET', {'filename': uri}, parseShowRadioFavoriteDetails, true);
}

/**
* Parses the details of a webradio favorites entry
* @param {object} obj jsonrpc response
* @returns {void}
*/
function parseShowRadioFavoriteDetails(obj) {
//reuse the radiobrowser modal
const table = elGetById('modalRadiobrowserDetailsList');
Expand Down

0 comments on commit 88f1b10

Please sign in to comment.