texinfo-commits
[Top][All Lists]
Advanced

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

[8383] * info.js (linkid_contains_index): Consider "Index" to be an inde


From: gavinsmith0123
Subject: [8383] * info.js (linkid_contains_index): Consider "Index" to be an index node.
Date: Tue, 23 Oct 2018 11:41:48 -0400 (EDT)

Revision: 8383
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8383
Author:   gavin
Date:     2018-10-23 11:41:48 -0400 (Tue, 23 Oct 2018)
Log Message:
-----------
* info.js (linkid_contains_index): Consider "Index" to be an index node.

Modified Paths:
--------------
    trunk/js/info.js

Modified: trunk/js/info.js
===================================================================
--- trunk/js/info.js    2018-10-23 13:49:30 UTC (rev 8382)
+++ trunk/js/info.js    2018-10-23 15:41:48 UTC (rev 8383)
@@ -1726,7 +1726,7 @@
   function
   linkid_contains_index (linkid)
   {
-    return linkid.match (/^.*-index$/i);
+    return linkid.match (/^.*-index$/i) || linkid.match (/^Index$/);
   }
 
   /** Retrieve PREV, NEXT, and UP links, and local menu from CONTENT and




reply via email to

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