texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Wed, 30 Nov 2022 13:36:41 -0500 (EST)

branch: old/qt-info
commit ebc5f3292cd149c0ffc558daccf96783fbff7151
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Apr 13 13:22:28 2019 +0100

    remove unused parameter
---
 js/info.js | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/js/info.js b/js/info.js
index 44b9a8fa1a..8dbeb60f2c 100644
--- a/js/info.js
+++ b/js/info.js
@@ -1635,12 +1635,10 @@ var user_config = window["INFO_CONFIG"];
 
   /** Modify LINKS to handle the iframe based navigation properly.  Relative
       links will be opened inside the corresponding iframe and absolute links
-      will be opened in a new tab.  If ID is true then define an "id"
-      attribute with a linkid value for relative links.
+      will be opened in a new tab.
 
       @typedef {HTMLAnchorElement|HTMLAreaElement} Links
       @arg {Links[]|HTMLCollectionOf<Links>} links
-      @arg {boolean} [id]
       @return void  */
   function
   fix_links (links, id)
@@ -1659,12 +1657,6 @@ var user_config = window["INFO_CONFIG"];
           {
             var href$ = with_sidebar_query (href);
             link.setAttribute ("href", href$);
-            if (id)
-              {
-                var linkid = (href$ === config.TOP_NAME) ?
-                    config.TOP_ID : href_hash (href$);
-                link.setAttribute ("id", linkid);
-              }
           }
       }
   }



reply via email to

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