mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Make the iframe not focusable by using tabIndex of -1
This commit is contained in:
parent
8a161a3bef
commit
554f31a1bb
@ -875,6 +875,7 @@ module.exports = function(Chart) {
|
||||
}
|
||||
|
||||
// Set the style
|
||||
hiddenIframe.tabIndex = -1;
|
||||
var style = hiddenIframe.style;
|
||||
style.width = '100%';
|
||||
style.display = 'block';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user