forked from ScoDoc/ScoDoc
Fixes #158
This commit is contained in:
parent
256e89605b
commit
bb7ed682c0
@ -104,6 +104,8 @@ def make_menu(title, items, css_class="", alone=False):
|
||||
item["urlq"] = url_for(
|
||||
item["endpoint"], scodoc_dept=g.scodoc_dept, **args
|
||||
)
|
||||
elif "url" in item:
|
||||
item["urlq"] = item["url"]
|
||||
else:
|
||||
item["urlq"] = "#"
|
||||
item["attr"] = item.get("attr", "")
|
||||
|
Loading…
Reference in New Issue
Block a user