Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Emoticons Replace Only Works for the First One (Minor Bug) #20

Description

@eniebla

If you send :) :) :) only the first one is replaced for an emoticon

FILE: jquery.chatjs.messageboard.js
var emoticons = [
{ pattern: ":-)", cssClass: "happy" },

MUST BE
{ pattern: /:-)/g, cssClass: "happy" },

replace all the "..." for /...../g

Hope this helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions