Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8193feb

Browse files
committed
Fix toolbar button events on Firefox.
1 parent d9e68a4 commit 8193feb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/backends/web_static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
{% else %}
2323
<button id="{{ name }}"
2424
class="mpl-toolbar-button"
25+
onclick="toolbar_button_onclick('{{ method }}');"
26+
onmouseover="toolbar_button_onmouseover('{{ tooltip }}');"
2527
role="button">
2628
<img src="/images/{{ image }}.png" width="24" height="24"
27-
onclick="toolbar_button_onclick('{{ method }}');"
28-
onmouseover="toolbar_button_onmouseover('{{ tooltip }}');"
2929
alt="{{ tooltip }}"/>
3030
</button>
3131
{% end %}

0 commit comments

Comments
 (0)