From 88f1b10488fdaf0c0599284e4abc04e10fe99716 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Mon, 13 May 2024 20:17:13 +0200 Subject: [PATCH] Fix: linter warnings --- htdocs/js/modalRadioFavoriteDetail.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/htdocs/js/modalRadioFavoriteDetail.js b/htdocs/js/modalRadioFavoriteDetail.js index 43cdcd317..6358acd9d 100644 --- a/htdocs/js/modalRadioFavoriteDetail.js +++ b/htdocs/js/modalRadioFavoriteDetail.js @@ -6,7 +6,7 @@ /** @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} */ @@ -14,9 +14,14 @@ 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');