]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Make the iframe not focusable by using tabIndex of -1 3094/head
authorEvert Timberg <evert.timberg+github@gmail.com>
Thu, 4 Aug 2016 22:55:32 +0000 (18:55 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Thu, 4 Aug 2016 22:55:32 +0000 (18:55 -0400)
src/core/core.helpers.js

index 6f634fa7c93e5862d56a845b64bd8cac1937d7ca..fa0842fa7fead1b586ab3b3247f2732decdb0dc9 100644 (file)
@@ -875,6 +875,7 @@ module.exports = function(Chart) {
                }
 
                // Set the style
+               hiddenIframe.tabIndex = -1;
                var style = hiddenIframe.style;
                style.width = '100%';
                style.display = 'block';