Permalink
Browse files

Fix toolbar button events on Firefox.

  • Loading branch information...
1 parent d9e68a4 commit 8193feb54c0140cfa287d7dbf5ba6a4b4a275ed4 @mdboom committed Oct 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/matplotlib/backends/web_static/index.html
@@ -22,10 +22,10 @@
{% else %}
<button id="{{ name }}"
class="mpl-toolbar-button"
+ onclick="toolbar_button_onclick('{{ method }}');"
+ onmouseover="toolbar_button_onmouseover('{{ tooltip }}');"
role="button">
<img src="/images/{{ image }}.png" width="24" height="24"
- onclick="toolbar_button_onclick('{{ method }}');"
- onmouseover="toolbar_button_onmouseover('{{ tooltip }}');"
alt="{{ tooltip }}"/>
</button>
{% end %}

0 comments on commit 8193feb

Please sign in to comment.