# Clicking the like button after the undo-like-window closed confuses the UI

**URL:** <https://meta.discourse.org/t/clicking-the-like-button-after-the-undo-like-window-closed-confuses-the-ui/30949>\
**Category:** Bug\
**Created:** [July 10, 2015, 10:22am UTC](https://meta.discourse.org/t/clicking-the-like-button-after-the-undo-like-window-closed-confuses-the-ui/30949 "2015-07-10T10:22:42Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

[fefrei](/t/-/30949/1) reports a UI bug where clicking the like button after the undo-like window closes results in a confusing state. The heart icon loses its button appearance, the cursor becomes a normal pointer, and highlighting disappears. Although the button appears clickable, subsequent clicks reset the state without successfully toggling the like, leaving the button looking clickable but unresponsive. [codinghorror](/t/-/30949/2) acknowledges the issue and tags @eviltrout and @gerhard to address it. [eviltrout](/t/-/30949/3) provides a fix via a GitHub commit link to resolve the UI confusion.

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [July 10, 2015, 10:22am UTC](https://meta.discourse.org/t/clicking-the-like-button-after-the-undo-like-window-closed-confuses-the-ui/30949/1 "2015-07-10T10:22:42Z")

</div>

Here’s a post I liked:  
 ![](https://global.discourse-cdn.com/meta/original/3X/a/f/af8c94fc84023b13b91901ac004eb1dc4d7a036b.png)

Note that the heart no longer looks like a button, the cursor is a normal pointer, and there is no highlight.

If you still click on it, this state is reset:  
 ![](https://global.discourse-cdn.com/meta/original/3X/2/7/276c8af50c9b770972f0cc788306d8d961ad6af2.png)  
 ![](https://global.discourse-cdn.com/meta/original/3X/5/9/59724ce4a55ceec742abf76903a689a4804afd15.png)  
You still cannot click the button, but it appears clickable.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [July 27, 2015, 8:01pm UTC](https://meta.discourse.org/t/clicking-the-like-button-after-the-undo-like-window-closed-confuses-the-ui/30949/2 "2015-07-27T20:01:01Z")

</div>

We should fix this @eviltrout cc @gerhard.

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [July 29, 2015, 6:34pm UTC](https://meta.discourse.org/t/clicking-the-like-button-after-the-undo-like-window-closed-confuses-the-ui/30949/3 "2015-07-29T18:34:46Z")

</div>

Here’s a fix:

[https://github.com/discourse/discourse/commit/9d1e37fb4687f47bd523d0ce811f24dc3993b6e5](https://github.com/discourse/discourse/commit/9d1e37fb4687f47bd523d0ce811f24dc3993b6e5)

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [July 29, 2015, 8:07pm UTC](https://meta.discourse.org/t/clicking-the-like-button-after-the-undo-like-window-closed-confuses-the-ui/30949/4 "2015-07-29T20:07:00Z")

</div>

Closed on July 29, 2015, 8:07pm UTC


