mirror of
https://github.com/flarum/core.git
synced 2025-08-07 08:56:38 +02:00
Fix patchMithril for route
This commit is contained in:
committed by
Franz Liedke
parent
57b85f501a
commit
1616d8f1c7
@@ -14,7 +14,7 @@ export default function patchMithril(global) {
|
||||
|
||||
if (node.attrs.route) {
|
||||
node.attrs.href = node.attrs.route;
|
||||
node.attrs.tag = modifiedMithril.route.Link;
|
||||
node.tag = defaultMithril.route.Link;
|
||||
|
||||
delete node.attrs.route;
|
||||
}
|
||||
|
Reference in New Issue
Block a user