mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 00:14:03 +01:00
Make the iframe not focusable by using tabIndex of -1
This commit is contained in:
@@ -875,6 +875,7 @@ module.exports = function(Chart) {
|
||||
}
|
||||
|
||||
// Set the style
|
||||
hiddenIframe.tabIndex = -1;
|
||||
var style = hiddenIframe.style;
|
||||
style.width = '100%';
|
||||
style.display = 'block';
|
||||
|
||||
Reference in New Issue
Block a user