summaryrefslogtreecommitdiff
path: root/lib/scripts/page.js
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-08-01 21:10:22 +0200
committerMichael Hamann <michael@content-space.de>2013-08-01 21:10:22 +0200
commit366f1b4213db30071ca5e1b73c31f6e99337e1a7 (patch)
tree08ffb0927c5b8ff104f67326f1a9bc40799f3b8c /lib/scripts/page.js
parentb9ca398d17863ad9a679d220dd742b0480fa80b6 (diff)
parent5537fd88dc60d76d6a85202f715aa1ef585281a9 (diff)
downloadrpg-366f1b4213db30071ca5e1b73c31f6e99337e1a7.tar.gz
rpg-366f1b4213db30071ca5e1b73c31f6e99337e1a7.tar.bz2
Merge branch 'master' into extension_manager
Diffstat (limited to 'lib/scripts/page.js')
-rw-r--r--lib/scripts/page.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/scripts/page.js b/lib/scripts/page.js
index 4ab0bf9b5..7b4958d82 100644
--- a/lib/scripts/page.js
+++ b/lib/scripts/page.js
@@ -62,7 +62,9 @@ dw_page = {
$fndiv = jQuery(document.createElement('div'))
.attr('id', popup_id)
.addClass('insitu-footnote JSpopup')
- .mouseleave(function () {jQuery(this).hide();});
+ .attr('aria-hidden', 'true')
+ .mouseleave(function () {jQuery(this).hide().attr('aria-hidden', 'true');})
+ .attr('role', 'tooltip');
jQuery('.dokuwiki:first').append($fndiv);
}
@@ -97,7 +99,7 @@ dw_page = {
content = content.replace(/\bid=(['"])([^"']+)\1/gi,'id="insitu__$2');
// now put the content into the wrapper
- dw_page.insituPopup(this, 'insitu__fn').html(content).show();
+ dw_page.insituPopup(this, 'insitu__fn').html(content).show().attr('aria-hidden', 'false');
},
/**