help3xsl/online_transform.xsl |    2 +-
 help3xsl/xap_templ_query.xsl  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c623dfe855734c75875f7333e49b1c7cd302988e
Author:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
AuthorDate: Tue Mar 29 12:40:13 2022 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Mar 29 11:49:06 2022 +0200

    Use type="search" for index filter input
    
    Change-Id: I0427076aa8d688f837a38c66312b7690336c0d2e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132264
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index a4b06b14f..224aaed9e 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -203,7 +203,7 @@
                         </xsl:otherwise>
                     </xsl:choose>
                 </xsl:variable>
-                <input id="search-bar" type="text" class="search" 
placeholder="{$pholder}"/>
+                <input id="search-bar" type="search" class="search" 
placeholder="{$pholder}"/>
                 <nav class="index"></nav>
             </div>
         </div>
diff --git a/help3xsl/xap_templ_query.xsl b/help3xsl/xap_templ_query.xsl
index 4189aadfd..51f2fea3c 100644
--- a/help3xsl/xap_templ_query.xsl
+++ b/help3xsl/xap_templ_query.xsl
@@ -131,7 +131,7 @@ document.write("<span title=\""+D+" 
"+T+"\">]]><xsl:apply-templates select="//va
     <div id="Index">
         <div class="index-label">]]><xsl:value-of 
select="$ui_index"/><![CDATA[ &#32;&#x1f50e;&#xfe0e;&#32;</div>
         <div id="Bookmarks">
-            <input id="search-bar" type="text" class="search" 
placeholder="]]><xsl:value-of select="$ui_pholderchosen"/><![CDATA["/>
+            <input id="search-bar" type="search" class="search" 
placeholder="]]><xsl:value-of select="$ui_pholderchosen"/><![CDATA["/>
             <nav class="index"></nav>
         </div>
     </div>

Reply via email to