Skip to content

Commit 070ca76

Browse files
authored
close curid span correctly
Seems jQuery fixes this wrap already. dokuwiki#3003
1 parent 7bbc0dc commit 070ca76

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)