Skip to main content
Topic: Likes (Read 1474 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Likes

Hello there.  O:-)

I just registered and found somethin' like a bug. When I click on "Like" and the on the number of likes, and keep clicking and clicking this happens: http://prntscr.com/3otbrz.

Hope I'll help. :)

Re: Likes

Reply #1

Hi Lazo and welcome! :)

Nice bug! :D
It's a js/markup problem: when clicking on the indicator bubble, the target is wrapped (or replaced I closed the window now... stupid me) with the button containing the text and the bubble itself.
The fix should be an:
Code: [Select]
e.stopPropagation();
Bugs creator.
Features destroyer.
Template killer.

Re: Likes

Reply #2

Actually it looks more complex that this... :-\

 emanuele is a js hater... :'(

ETA: a bit ugly...
Added:
Code: [Select]
				if (e.target.nodeName.toLowerCase() !== 'a')
return false;
to likeUnlikePosts.

Any suggestion is welcome. O:-)
Last Edit: June 02, 2014, 08:56:23 am by emanuele
Bugs creator.
Features destroyer.
Template killer.