[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Get rid of the anchors auto-added to links in Tiki

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <698f48bab62d4_3b18581c897@gitlab-sidekiq-low-urgency-cpu-bound-v2-996f45698-fsw92.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
4bcc181a by Elvis Ansima at 2026-02-13T15:44:23+00:00
[FIX] Get rid of the anchors auto-added to links in Tiki
---
* Revert "[FIX] update collapse toggle with button tag"

This reverts commit fdb27a23c89c7c4504c21491904749691e999618.

* [FIX] remove unwanted hashtag from popover href attribute

* [FIX] update collapse toggle with button tag
This avoid unwanted anchor links on collapse toggles

See merge request tikiwiki/tiki!9343

- - - - -


1 changed file:

- lib/jquery_tiki/tiki-jquery.js


Changes:

=====================================
lib/jquery_tiki/tiki-jquery.js
=====================================
@@ -440,7 +440,7 @@ $.fn.tiki_popover = function () {
                     $element.attr('data-bs-content', parts.join(sep));
                     // Aria-label
                     $element.attr('aria-label', parts.join(sep));
-                    $element.attr('href', $element.attr('href') + '#' + encodeURI(parts.join(sep)));
+                    $element.attr('href', $element.attr('href'));
                 }
             });
         } else {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4bcc181a421c760f931e15423948dfbab4619c0b

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4bcc181a421c760f931e15423948dfbab4619c0b
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.