mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 22:16:15 -04:00
Rework AJQuery to $_ to not interfere with jQuery
This commit is contained in:
parent
babfa3a7c0
commit
36841d57d4
13 changed files with 57 additions and 57 deletions
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
window.$('.ex-custom-ca pre.chroma').classList.add('light');
|
||||
ready(() => {
|
||||
window.$_('.ex-custom-ca pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
ready(() => {
|
||||
let startElement, endElement;
|
||||
|
||||
startElement = findWithContent('.ex-fs pre.chroma code span.line', 'file_server /downloads/* {');
|
||||
|
@ -25,7 +25,7 @@ document.addEventListener("DOMContentLoaded", (event) => {
|
|||
endElement = findNextText(startElement, 'browse');
|
||||
wrapRangeWithSpan(startElement, endElement, 'rollover-browse rollover-purple');
|
||||
|
||||
window.$('.ex-fs pre.chroma').classList.add('light');
|
||||
window.$_('.ex-fs pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
window.$('.ex-json-automate-certs pre.chroma').classList.add('light');
|
||||
ready(() => {
|
||||
window.$_('.ex-json-automate-certs pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
window.$('.ex-local-https pre.chroma').classList.add('light');
|
||||
ready(() => {
|
||||
window.$_('.ex-local-https pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
ready(() => {
|
||||
let startElement, endElement;
|
||||
|
||||
startElement = findWithContent('.ex-proxy pre.chroma code span', 'php_fastcgi');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
window.$('.ex-website-caddyfile pre.chroma').classList.add('light');
|
||||
ready(() => {
|
||||
window.$_('.ex-website-caddyfile pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue