From eea716d8cdb6e5ce08497cddc258f02bae918983 Mon Sep 17 00:00:00 2001 From: jcass Date: Tue, 26 Jan 2016 17:42:31 +0200 Subject: [PATCH] Swop mute / un-mute icons back. --- README.rst | 2 +- mopidy_musicbox_webclient/static/index.html | 2 +- mopidy_musicbox_webclient/static/js/controls.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index b98a932..2772a60 100644 --- a/README.rst +++ b/README.rst @@ -63,7 +63,7 @@ v2.0.1 (UNRELEASED) - Increase volume slider handle by 30% to make it easier to grab on mobile devices - Add application cache manifest file for quicker loads and to allow client devices to detect when local caches should be invalidated. - Fix vertical alignment of playback control buttons in footer. -- Swop icons and use standard Mopidy mixer methods to mute / un-mute playback. +- Use standard Mopidy mixer methods to mute / un-mute playback. v2.0.0 (26-3-2015) ------------------ diff --git a/mopidy_musicbox_webclient/static/index.html b/mopidy_musicbox_webclient/static/index.html index 593fb74..27d3000 100644 --- a/mopidy_musicbox_webclient/static/index.html +++ b/mopidy_musicbox_webclient/static/index.html @@ -117,7 +117,7 @@
  • - + diff --git a/mopidy_musicbox_webclient/static/js/controls.js b/mopidy_musicbox_webclient/static/js/controls.js index d1b6c7b..140157f 100644 --- a/mopidy_musicbox_webclient/static/js/controls.js +++ b/mopidy_musicbox_webclient/static/js/controls.js @@ -427,7 +427,7 @@ function triggerVolume() { function toggleMute() { mopidy.mixer.getMute().then(function(mute) { mopidy.mixer.setMute(!mute); - if (!mute) { + if (mute) { $("#mutebt").attr('class', 'fa fa-volume-up'); } else { $("#mutebt").attr('class', 'fa fa-volume-off');