mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 17:52:45 +08:00
0424eb8db2
In the expand table event handler, we currently rely on `event.target` to select the table being expanded. Sometimes, the target is the svg icon wrapped inside the button instead of the button itself. This throws things off. This change uses `currentTarget` which refers to the button element even if the event originated from svg icon. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |