Skip to content
Snippets Groups Projects
Commit 04dd9c85 authored by Anika Henke's avatar Anika Henke
Browse files

fixed link wizard being appended to every div.dokuwiki (FS#2395) and changed...

fixed link wizard being appended to every div.dokuwiki (FS#2395) and changed div.dokuwiki to just .dokuwiki (some templates have the class in the body)
parent 33772bd0
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ var dw_linkwiz = {
'left': (pos.left+80)+'px'
})
.hide()
.appendTo('div.dokuwiki');
.appendTo('.dokuwiki:first');
dw_linkwiz.textArea = $editor[0];
dw_linkwiz.result = jQuery('#link__wiz_result')[0];
......
......@@ -55,7 +55,7 @@ dw_page = {
.attr('id', popup_id)
.addClass('insitu-footnote JSpopup')
.mouseleave(function () {jQuery(this).hide();});
jQuery('div.dokuwiki:first').append($fndiv);
jQuery('.dokuwiki:first').append($fndiv);
}
// position() does not support hidden elements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment