texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * js/info.js (init_iframe): Change selector for i


From: Gavin D. Smith
Subject: branch master 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 06:57:54 -0500

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

gavin pushed a commit to branch master
in repository texinfo.

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

commit a0fd61252adb22ce47aae2b17c741e5091fb13a0
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 cc74f5d597..8cb61dd96a 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-20  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * README-hacking: say to test JS interface manually before a release
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]