summaryrefslogtreecommitdiff
path: root/lib/scripts/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/page.js')
-rw-r--r--lib/scripts/page.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/page.js b/lib/scripts/page.js
index e4033b76d..5da4a9cc0 100644
--- a/lib/scripts/page.js
+++ b/lib/scripts/page.js
@@ -43,7 +43,7 @@ dw_page = {
*
* @param target - the DOM element at which the popup should be aligned at
* @param popup_id - the ID of the (new) DOM popup
- * @return the Popup JQuery object
+ * @return the Popup jQuery object
*/
insituPopup: function(target, popup_id) {
// get or create the popup div
@@ -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