mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-24 17:42:25 +02:00
Added role="button" to toolbar buttons, closes #38
This commit is contained in:
parent
75cfd34191
commit
b31c0a1a02
2
dist/easymde.min.js
vendored
2
dist/easymde.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -119,6 +119,7 @@ function createIcon(options, enableTooltips, shortcuts) {
|
|||
options = options || {};
|
||||
var el = document.createElement('button');
|
||||
el.className = options.name;
|
||||
el.setAttribute('role', 'button');
|
||||
enableTooltips = (enableTooltips == undefined) ? true : enableTooltips;
|
||||
|
||||
if (options.title && enableTooltips) {
|
||||
|
|
Loading…
Reference in a new issue