# 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:** [2015年七月10日 10:22 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

<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:** [2015年七月10日 10:22 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:** [2015年七月27日 20:01 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:** [2015年七月29日 18:34 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:** [2015年七月29日 20:07 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>


