fix prev and next buttons; was swapped
authorCody Mize <me@codymize.com>
Wed, 23 Apr 2014 07:13:07 +0000 (03:13 -0400)
committerCody Mize <me@codymize.com>
Wed, 23 Apr 2014 07:13:07 +0000 (03:13 -0400)
htdocs/index.html

index 5fe4672..0149a87 100644 (file)
@@ -45,7 +45,7 @@
 
         <div class="btn-toolbar navbar-btn navbar-right" role="toolbar">
           <div class="btn-group">
-            <button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_NEXT');">
+            <button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PREV');">
               <span class="glyphicon glyphicon-backward"></span>
             </button>
             <button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_STOP');">
@@ -54,7 +54,7 @@
             <button type="button" class="btn btn-default" onclick="clickPlay();">
               <span id="play-icon" class="glyphicon glyphicon-pause"></span>
             </button>
-            <button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PREV');">
+            <button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_NEXT');">
               <span class="glyphicon glyphicon-forward"></span>
             </button>
           </div>