Procházet zdrojové kódy

feat: add placeholder to search input

flowfield před 2 roky
rodič
revize
6a0e192928
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -5,7 +5,7 @@
     <body>
         <form class="search-container" action="search.php" method="get" autocomplete="off">
                 <h1>Libre<span class="X">X</span></h1>
-                <input type="text" name="q" autofocus/>
+                <input placeholder="Search..." type="text" name="q" autofocus/>
                 <input type="hidden" name="p" value="0"/>
                 <input type="hidden" name="t" value="0"/>
                 <input type="submit" class="hide"/>