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 6cf3a07..be4c044 100644 (file)
       <table class=yuu-options>
         <tr>
           <td>
       <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>
             <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>
                    min=0 max=1.0 step=0.05>
           </td>
         </tr>
           <td>
           </td>
           <td>
           <td>
           </td>
           <td>
-            <label for=volume>Music</label>
+            <label for=musicVolume>Music</label>
           </td>
           <td>
           </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>
                    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>
             <label for=fullscreen title="Toggle fullscreen (F11)"></label>
           </td>
           <td colspan=2>