Skip to content

Commit 0613df3

Browse files
authored
Merge pull request dokuwiki#4042 from dokuwiki/fix_curid_wrap
close curid span correctly
2 parents 7bbc0dc + 070ca76 commit 0613df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scripts/page.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ dw_page = {
6464
* @author Henry Pan <[email protected]>
6565
*/
6666
currentIDHighlight: function(){
67-
jQuery('a.wikilink1, a.wikilink2').filter('[data-wiki-id="'+JSINFO.id+'"]').wrap('<span class="curid"></div>');
67+
jQuery('a.wikilink1, a.wikilink2').filter('[data-wiki-id="'+JSINFO.id+'"]').wrap('<span class="curid"></span>');
6868
},
6969

7070
/**

0 commit comments

Comments
 (0)