]> spindle.queued.net Git - midori/commitdiff
Use simple button instead of form in error pages
authorAndré Stösel <Midori-Plugin@PyIT.de>
Mon, 22 Mar 2010 20:35:14 +0000 (21:35 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 22 Mar 2010 20:40:54 +0000 (21:40 +0100)
data/error.html

index 600a6c827b1906d9ffb6db37e11f26a092e2e7cd..fd63f2b6bdd3ba442e9db4ebc1df2c58891abbbb 100644 (file)
@@ -68,12 +68,10 @@ description {
             <h1>{title}</h1>
             <p id="message">{message}</p>
             <p id="description">{description}</p>
-            <form onsubmit="location.reload()">
-                <button>
-                    <img src="{stock}/gtk-refresh"/>
-                    <span>{tryagain}</span>
-                </button>
-            </form>
+            <button onclick="location.reload()">
+                <img src="{stock}/gtk-refresh"/>
+                <span>{tryagain}</span>
+            </button>
         </div>
         <br style="clear: both;"/>
     </div>