From fbcada96a9afdba92369eb0a0bd58316913e0280 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 4 May 2015 10:30:06 +0930 Subject: [PATCH] Fix issue with Mithril 0.2.0 (invalid m.route call) --- framework/core/js/forum/src/components/discussion-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/discussion-list.js b/framework/core/js/forum/src/components/discussion-list.js index 8a82d81fc..96de9daf3 100644 --- a/framework/core/js/forum/src/components/discussion-list.js +++ b/framework/core/js/forum/src/components/discussion-list.js @@ -120,7 +120,7 @@ export default class DiscussionList extends Component { href: startUser ? app.route('user', { username: startUser.username() }) : undefined, config: function(element, isInitialized, context) { $(element).tooltip({ placement: 'right' }) - m.route.call(this, element) + m.route.apply(this, arguments) }, title: 'Started by '+(startUser ? startUser.username() : '[deleted]')+' '+humanTime(discussion.startTime()) }, [