texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch release/7.0 updated: * js/info.js (init_iframe): Change selector


From: Gavin D. Smith
Subject: branch release/7.0 updated: * js/info.js (init_iframe): Change selector for index entries to match new HTML output. From Per and Patrice.
Date: Sun, 20 Nov 2022 07:09:57 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch release/7.0
in repository texinfo.

The following commit(s) were added to refs/heads/release/7.0 by this push:
     new 555965b541 * js/info.js (init_iframe): Change selector for index 
entries to match new HTML output.  From Per and Patrice.
555965b541 is described below

commit 555965b5413743b3e8fe16a527e1e132875b7172
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Nov 20 11:57:40 2022 +0000

    * js/info.js (init_iframe): Change selector for index entries
    to match new HTML output.  From Per and Patrice.
---
 ChangeLog  | 5 +++++
 js/info.js | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7c44e2bfd4..c8956a3ef0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-20  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * js/info.js (init_iframe): Change selector for index entries
+       to match new HTML output.  From Per and Patrice.
+
 2022-11-17  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * info/util.c (text_buffer_iconv): Avoid infinite loop
diff --git a/js/info.js b/js/info.js
index 69c5ad95f3..f5039928b4 100644
--- a/js/info.js
+++ b/js/info.js
@@ -1455,7 +1455,8 @@
       if (linkid_contains_index (linkid))
         {
           /* Scan links that should be added to the index.  */
-          var index_links = document.querySelectorAll ("td[valign=top] a");
+          var index_links = document.querySelectorAll
+            ("td.printindex-index-entry a");
           store.dispatch (actions.cache_index_links (index_links));
         }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]