mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Merge pull request #3094 from chartjs/fix/3090
Make the iframe not focusable by using tabIndex of -1
This commit is contained in:
commit
5fea5a1156
@ -875,6 +875,7 @@ module.exports = function(Chart) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set the style
|
// Set the style
|
||||||
|
hiddenIframe.tabIndex = -1;
|
||||||
var style = hiddenIframe.style;
|
var style = hiddenIframe.style;
|
||||||
style.width = '100%';
|
style.width = '100%';
|
||||||
style.display = 'block';
|
style.display = 'block';
|
||||||
|
Loading…
Reference in New Issue
Block a user