aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/page.js
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2023-08-25 15:57:46 +0200
committerGitHub <noreply@github.com>2023-08-25 15:57:46 +0200
commit070ca76e6503d42ee3a794f7949e71edf25a87e0 (patch)
treefeab3fa9d9261c37e4a049f561711ef166b6e275 /lib/scripts/page.js
parent7bbc0dcadf9ed483187267023c70883223d3f8ac (diff)
downloaddokuwiki-070ca76e6503d42ee3a794f7949e71edf25a87e0.tar.gz
dokuwiki-070ca76e6503d42ee3a794f7949e71edf25a87e0.zip
close curid span correctly
Seems jQuery fixes this wrap already. #3003
Diffstat (limited to 'lib/scripts/page.js')
-rw-r--r--lib/scripts/page.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/page.js b/lib/scripts/page.js
index 0bb75b961..da7faa471 100644
--- a/lib/scripts/page.js
+++ b/lib/scripts/page.js
@@ -64,7 +64,7 @@ dw_page = {
* @author Henry Pan <dokuwiki@phy25.com>
*/
currentIDHighlight: function(){
- jQuery('a.wikilink1, a.wikilink2').filter('[data-wiki-id="'+JSINFO.id+'"]').wrap('<span class="curid"></div>');
+ jQuery('a.wikilink1, a.wikilink2').filter('[data-wiki-id="'+JSINFO.id+'"]').wrap('<span class="curid"></span>');
},
/**