[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * js/info.js (on_link): Change query pattern for
From: |
Per Bothner |
Subject: |
branch master updated: * js/info.js (on_link): Change query pattern for links. |
Date: |
Sun, 27 Nov 2022 19:31:38 -0500 |
This is an automated email from the git hooks/post-receive script.
bothner pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new b04fe9cf54 * js/info.js (on_link): Change query pattern for links.
b04fe9cf54 is described below
commit b04fe9cf5459895218ba9776debfa212c30921cd
Author: Per Bothner <per@bothner.com>
AuthorDate: Sun Nov 27 16:31:11 2022 -0800
* js/info.js (on_link): Change query pattern for links.
Use class printindex-index-section instead of printindex-index-entry
to get the correct node URL.
---
ChangeLog | 6 ++++++
js/info.js | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 1968683be1..64be250273 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-11-27 Per Bothner <per@bothner.com>
+
+ * js/info.js (on_link): Change query pattern for links.
+ Use class printindex-index-section instead of printindex-index-entry
+ to get the correct node URL.
+
2022-11-27 Per Bothner <per@bothner.com>
* js/info.js (set_current)url): Don't set parameter default.
diff --git a/js/info.js b/js/info.js
index 042203d0be..bf555bcf9d 100644
--- a/js/info.js
+++ b/js/info.js
@@ -1458,7 +1458,7 @@
{
/* Scan links that should be added to the index. */
var index_links = document.querySelectorAll
- ("td.printindex-index-entry a");
+ ("td.printindex-index-section a");
store.dispatch (actions.cache_index_links (index_links));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * js/info.js (on_link): Change query pattern for links.,
Per Bothner <=