Take advantage of empty attribute syntax.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 2 Oct 2014 15:58:07 +0000 (17:58 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 2 Oct 2014 15:58:07 +0000 (17:58 +0200)
src/index.html

index 6cf3a07f514cf2129e8bdc8afc91bdb64d685ad4..be4c044842b15f89cd5cce8b414088bde6fa22b5 100644 (file)
       <table class=yuu-options>
         <tr>
           <td>
-            <input type=checkbox data-yuu-command=mute id=mute>
+            <input type=checkbox data-yuu-command id=mute>
             <label for=mute title="Toggle audio mute (Control+S)"></label>
           </td>
           <td>
             <label for=volume>Volume</label>
           </td>
           <td>
-            <input type=range data-yuu-command=volume id=volume
+            <input type=range data-yuu-command id=volume
                    min=0 max=1.0 step=0.05>
           </td>
         </tr>
           <td>
           </td>
           <td>
-            <label for=volume>Music</label>
+            <label for=musicVolume>Music</label>
           </td>
           <td>
-            <input type=range data-yuu-command=musicVolume id=musicVolume
+            <input id=musicVolume type=range data-yuu-command
                    min=0 max=1.0 step=0.05>
           </td>
         </tr>
         <tr>
           <td>
-            <input type=checkbox data-yuu-command=fullscreen
-                   id=fullscreen>
+            <input id=fullscreen type=checkbox data-yuu-command>
             <label for=fullscreen title="Toggle fullscreen (F11)"></label>
           </td>
           <td colspan=2>