1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 10:24:46 +02:00

Fix patchMithril for route

This commit is contained in:
Alexander Skvortsov
2020-08-08 15:02:54 -04:00
committed by Franz Liedke
parent 57b85f501a
commit 1616d8f1c7

View File

@@ -14,7 +14,7 @@ export default function patchMithril(global) {
if (node.attrs.route) { if (node.attrs.route) {
node.attrs.href = node.attrs.route; node.attrs.href = node.attrs.route;
node.attrs.tag = modifiedMithril.route.Link; node.tag = defaultMithril.route.Link;
delete node.attrs.route; delete node.attrs.route;
} }