Skip to content

Bug when clicking the icon on the account entry #389

@talbenbasat

Description

@talbenbasat

hi,

There is a bug when trying to connect with an account and clicking on the icon instead of clicking on the text.

The case is that you click on the tag instead of on the button tag,
so the this refers to the font awesome and :
$(event.target).attr('id').replace 'entry-', '' - fails
since this isn't the button

the bug can be solved by changing the accounts-entry/client/views/social/social.coffee (Line 28) to check for this case.

you can easily add an if statement to check if there is an id or not,
if not skip and then it will propagate.
another option is to check for the parent node instead of propagation.

Tal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions