mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 23:00:25 +08:00
内容压缩支持brotli和deflate
This commit is contained in:
@@ -25,4 +25,15 @@ function sortTable(callback) {
|
||||
})
|
||||
})
|
||||
document.head.appendChild(jsFile)
|
||||
}
|
||||
}
|
||||
|
||||
function sortLoad(callback) {
|
||||
let jsFile = document.createElement("script")
|
||||
jsFile.setAttribute("src", "/js/sortable.min.js")
|
||||
jsFile.addEventListener("load", function () {
|
||||
if (typeof (callback) == "function") {
|
||||
callback()
|
||||
}
|
||||
})
|
||||
document.head.appendChild(jsFile)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user