# dojo/fx/Toggler doesn´t disable buttons

**URL:** <https://discourse.dojo.io/t/dojo-fx-toggler-doesn-t-disable-buttons/459>\
**Category:** Dojo 1.x users\
**Created:** [December 4, 2019, 11:28am UTC](https://discourse.dojo.io/t/dojo-fx-toggler-doesn-t-disable-buttons/459 "2019-12-04T11:28:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alberto](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Alberto](https://discourse.dojo.io/u/Alberto)\
**Post date:** [December 4, 2019, 11:28am UTC](https://discourse.dojo.io/t/dojo-fx-toggler-doesn-t-disable-buttons/459/1 "2019-12-04T11:28:22Z")

</div>

I’ve used dojo/fx/Toggler to show/hide buttons (or any dom node) and it works fine, but if there’s a function linked to that node, this function is executed when you click on the node though this node is invisible. I don´t know if it is malfunction, or it is intended.
