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:
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.toc();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user