mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
Fix issue with Mithril 0.2.0 (invalid m.route call)
This commit is contained in:
@@ -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())
|
||||
}, [
|
||||
|
Reference in New Issue
Block a user