From f6663800c3e4625db4f18582b01aedd063cf9713 Mon Sep 17 00:00:00 2001 From: Nick Steel Date: Tue, 14 Mar 2017 23:46:30 +0000 Subject: [PATCH] Fixed showing artist and album details from search page. Looks like this got broken in e3eddf2e288d343ed0fe51f18bd619ee616f5bbd where we accidentally started quoting this.id when passed to the showX functions. --- mopidy_musicbox_webclient/static/js/library.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy_musicbox_webclient/static/js/library.js b/mopidy_musicbox_webclient/static/js/library.js index 9ca8d926..2a27753b 100644 --- a/mopidy_musicbox_webclient/static/js/library.js +++ b/mopidy_musicbox_webclient/static/js/library.js @@ -131,7 +131,7 @@ // Artist results var child = '' - var template = '
  • {name}
  • ' + var template = '
  • {name}
  • ' var tokens for (i = 0; i < results.artists.length; i++) { @@ -155,7 +155,7 @@ // Album results child = '' - template = '
  • ' + template = '
  • ' template += '
    {albumName}
    ' template += '

    {artistName}

    ' template += '
  • '