From b1112787e60be712d508e80baaf0d6f9a861f0ac Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Fri, 28 Apr 2006 03:51:58 +0200 Subject: accesskey tooltip rewriting Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+] because this patch matches on "[ALT+". darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz --- lib/exe/js.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/exe') diff --git a/lib/exe/js.php b/lib/exe/js.php index f18edc5d6..5c7ee1dbd 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -121,7 +121,8 @@ function js_out(){ // load user script @readfile(DOKU_CONF.'userscript.js'); - // add scroll event + // add scroll event and tooltip rewriting + js_runonstart('updateAccessKeyTooltip()'); js_runonstart('scrollToMarker()'); // initialize init pseudo event -- cgit v1.2.3