5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-20 22:50:06 +03:00

asciidoc.js: use mediawiki resource loader queue

Because jQuery is not available when we load the script.
This commit is contained in:
Dietmar Maurer 2016-10-22 14:50:00 +02:00
parent a7d40e1f89
commit 24bec5055d

View File

@ -92,8 +92,8 @@ var asciidoc = {
}
};
jQuery(document).ready(function(){
// add init to mediawiki resource loader queue
(window.RLQ=window.RLQ||[]).push(function(){
asciidoc.footnotes();
asciidoc.toc();
});