webmcp

diff framework/bin/autodoc.lua @ 389:a7a335e2db93

Utilize onhashchange event in autodoc output
author jbe
date Thu Dec 03 02:32:20 2015 +0100 (2015-12-03)
parents 46ff54bbd10e
children ed910089a0c5
line diff
     1.1 --- a/framework/bin/autodoc.lua	Wed Dec 02 09:37:47 2015 +0100
     1.2 +++ b/framework/bin/autodoc.lua	Thu Dec 03 02:32:20 2015 +0100
     1.3 @@ -187,8 +187,8 @@
     1.4    output('<a name="', anchor, '">')
     1.5    output('  <li class="autodoc_entry">\n')
     1.6    output(
     1.7 -    '    <div class="short_synopsis"',
     1.8 -    ' onclick="document.getElementById(\'autodoc_details_',
     1.9 +    '    <div class="short_synopsis" onclick="window.onhashchange = null;',
    1.10 +    ' document.getElementById(\'autodoc_details_',
    1.11      ident,
    1.12      '\').style.display = document.getElementById(\'autodoc_details_',
    1.13      ident,

Impressum / About Us