]> git.cworth.org Git - zombocom-ai/commitdiff
Remove the cancel button from the profile dialog
authorCarl Worth <cworth@cworth.org>
Thu, 8 Dec 2022 07:36:33 +0000 (23:36 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 8 Dec 2022 07:39:44 +0000 (23:39 -0800)
Previously, both buttons were behaving identically, so there's really
no reason to have the cancel button.

index.html

index 6173a6879b0ef229b24268845b3dfaba08c33bde..bc6e61eb8556619858cbd27ecd0f7d7453be3767 100644 (file)
       <form method="dialog">
         <p>
           <label>Your name:
-            <input id="name" type="text">
+            <input id="name" type="text" autocomplete="off">
           </label>
         </p>
         <div>
-          <button value="cancel">Cancel</button>
-          <button id="confirm" value="default">Confirm</button>
+          <button value="default">OK</button>
         </div>
       </form>
     </dialog>