[tor-commits] [atlas/master] Remove the action attribute from the search form

irl at torproject.org irl at torproject.org
Mon Jan 23 21:58:07 UTC 2017


commit 42a43699cb47bafc4c066a423b2a575e59cfa93f
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Sat Jan 21 21:01:13 2017 +0000

    Remove the action attribute from the search form
    
    Search form submissions are caught by a JavaScript event so the action
    is never used and can be removed.
    
    Really closes ticket 21234 this time.
---
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 8ed9b71..34a06af 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@
             <li><a href="#/about">About</a></li>
             <li><a href="#/top10">Top 10 Relays</a></li>
           </ul>
-            <form id="nav-search" class="navbar-search pull-right" action="">
+            <form id="nav-search" class="navbar-search pull-right">
                 <input type="text" class="search-query" placeholder="Search">
             </form>
         </div>



More information about the tor-commits mailing list