mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-07-30 21:14:44 +00:00
asciidoc.js: use mediawiki resource loader queue
Because jQuery is not available when we load the script.
This commit is contained in:
parent
a7d40e1f89
commit
24bec5055d
@ -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.footnotes();
|
||||||
asciidoc.toc();
|
asciidoc.toc();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user