From 4dbe95fe80016fedc7fb8696ba102d7aaee1408f Mon Sep 17 00:00:00 2001 From: Wes Cossick Date: Fri, 4 Dec 2015 23:41:24 -0600 Subject: [PATCH] Fixes #163 where tabbing through form would land on icons --- src/js/simplemde.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/simplemde.js b/src/js/simplemde.js index ab5f88d..4999651 100644 --- a/src/js/simplemde.js +++ b/src/js/simplemde.js @@ -68,6 +68,7 @@ function createIcon(options, enableTooltips) { } } + el.tabIndex = -1; el.className = options.className; return el; }