fixes bug 896562 - API documentation javascript is too impatient
Merge pull request #1350 from peterbe/bug-896562-api-documentation-javascript-is-too-impatient

fixes bug 896562 - API documentation javascript is too impatient