]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/addlink.html
Change password and manage tags template
[github/shaarli/Shaarli.git] / tpl / default / addlink.html
index bc328daacb6fb8e870580904ef34e18af1d13371..05207551db7aab567acc628122cc8ef443b36b36 100644 (file)
@@ -9,7 +9,7 @@
   <div class="pure-u-lg-1-3 pure-u-1-8"></div>
   <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4">
     <h2>{"Shaare a new link"|t}</h2>
-    <form method="GET" action="" name="addform" class="addform page-form page-form-light">
+    <form method="GET" action="" name="addform" class="addform page-form page-form-light autofocus">
       <div>
         <input type="text" name="post" placeholder="{'URL or leave empty to post a note'|t}">
       </div>
@@ -20,8 +20,5 @@
   </div>
 </div>
 {include="page.footer"}
-<script>
-  document.getElementsByName('post')[0].focus();
-</script>
 </body>
 </html>