mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Add redirect for jquery-ui
This commit is contained in:
parent
173da02b2f
commit
ed8b12e1d6
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,10 @@ def _redirectWebExports(path):
|
||||||
base = "jquery.min"
|
base = "jquery.min"
|
||||||
addprefix = "js/vendor/"
|
addprefix = "js/vendor/"
|
||||||
|
|
||||||
|
elif base == "jquery-ui":
|
||||||
|
base = "jquery-ui.min"
|
||||||
|
addprefix = "js/vendor/"
|
||||||
|
|
||||||
if addprefix:
|
if addprefix:
|
||||||
oldpath = path
|
oldpath = path
|
||||||
path = f"{targetPath}{addprefix}{base}{ext}"
|
path = f"{targetPath}{addprefix}{base}{ext}"
|
||||||
|
|
Loading…
Reference in a new issue