From: Evert Timberg Date: Thu, 4 Aug 2016 22:55:32 +0000 (-0400) Subject: Make the iframe not focusable by using tabIndex of -1 X-Git-Tag: v2.2.2~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3094%2Fhead;p=thirdparty%2FChart.js.git Make the iframe not focusable by using tabIndex of -1 --- diff --git a/src/core/core.helpers.js b/src/core/core.helpers.js index 6f634fa7c..fa0842fa7 100644 --- a/src/core/core.helpers.js +++ b/src/core/core.helpers.js @@ -875,6 +875,7 @@ module.exports = function(Chart) { } // Set the style + hiddenIframe.tabIndex = -1; var style = hiddenIframe.style; style.width = '100%'; style.display = 'block';