We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d3d1f commit e557ee1Copy full SHA for e557ee1
src/components/modebar/modebar.js
@@ -146,8 +146,9 @@ proto.createGroup = function() {
146
*/
147
proto.createButton = function(config) {
148
var _this = this;
149
- var button = document.createElement('a');
+ var button = document.createElement('button');
150
151
+ button.setAttribute('type', 'button');
152
button.setAttribute('tabindex', '0');
153
button.setAttribute('rel', 'tooltip');
154
button.className = 'modebar-btn';
src/css/_modebar.scss
@@ -40,7 +40,8 @@
40
cursor: pointer;
41
line-height: normal;
42
box-sizing: border-box;
43
-
+ border: none;
44
+ background: transparent;
45
svg {
46
position: relative;
47
top: 2px;
0 commit comments