[RSS Feed/News] Mention autocomplete doesn't work in some cases where the username contains an '@' character

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Consider the username M@tze. You can mention him in a post by typing @M@tze. This works fine.

But the autocomplete doesn't work: No suggestions are shown after you type an @ character followed by the first two characters: @M@.

The problem seems to be that XenForo only looks at the part of the username following the last @ character:
JavaScript:

var lastAt = text.lastIndexOf(this.options.at);

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom