Swop mute / un-mute icons back.
This commit is contained in:
parent
c5cdc670ef
commit
eea716d8cd
@ -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)
|
||||
------------------
|
||||
|
||||
@ -117,7 +117,7 @@
|
||||
</li>
|
||||
<li id="" data-icon="false">
|
||||
<div><!-- slider for volume -->
|
||||
<a href="#" onclick="toggleMute(); return false;"><span title="Toggle mute"><i id="mutebt" class="fa fa-volume-off"></i></span></a>
|
||||
<a href="#" onclick="toggleMute(); return false;"><span title="Toggle mute"><i id="mutebt" class="fa fa-volume-up"></i></span></a>
|
||||
<label for="volumeslider" class="ui-hidden-accessible">Volume</label>
|
||||
<input id="volumeslider" data-highlight="true" name="volumeslider" data-mini="true" type="range" min="0"
|
||||
value="0" max="100" onchange="doVolume(this.value);"/>
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user