commit: b2846893138086023ee43e8919689e659639579a
parent: 937705ccb0b53f22e9e5e3397a0d03142142d8c6
Author: Shpuld Shpuldson <shpuld@gmail.com>
Date: Fri, 23 Jun 2017 16:49:11 +0300
Hotfix for JS error in auto completion in firefox.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js
@@ -49,7 +49,7 @@ const PostStatusForm = {
computed: {
candidates () {
if (this.textAtCaret.charAt(0) === '@') {
- const matchedUsers = filter(this.users, (user) => (user.name + user.screen_name).match(this.textAtCaret.slice(1)))
+ const matchedUsers = filter(this.users, (user) => (String(user.name + user.screen_name)).match(this.textAtCaret.slice(1)))
if (matchedUsers.length <= 0) {
return false
}