mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Redirect references to old plotting library version
This commit is contained in:
parent
ec9b4aa273
commit
a6319326a9
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,10 @@ def _redirectWebExports(path):
|
|||
base = "jquery.min"
|
||||
addprefix = "js/vendor/"
|
||||
|
||||
elif base == "plot":
|
||||
base = "jquery.flot"
|
||||
addprefix = "js/vendor/"
|
||||
|
||||
if addprefix:
|
||||
oldpath = path
|
||||
path = f"{targetPath}{addprefix}{base}{ext}"
|
||||
|
|
Loading…
Reference in a new issue