Comparing version 1.1.2 to 1.1.3
# Changelog | ||
## 1.1.3 | ||
- Fix bug causing SVG elements to precede elements they should follow in the tab order in IE. | ||
## 1.1.2 | ||
@@ -4,0 +8,0 @@ |
@@ -36,6 +36,7 @@ module.exports = function(el, options) { | ||
var candidate, candidateIndex; | ||
var candidate, candidateIndexAttr, candidateIndex; | ||
for (var i = 0, l = candidates.length; i < l; i++) { | ||
candidate = candidates[i]; | ||
candidateIndex = parseInt(candidate.getAttribute('tabindex'), 10) || candidate.tabIndex; | ||
candidateIndexAttr = parseInt(candidate.getAttribute('tabindex'), 10) | ||
candidateIndex = isNaN(candidateIndexAttr) ? candidate.tabIndex : candidateIndexAttr; | ||
@@ -42,0 +43,0 @@ if ( |
{ | ||
"name": "tabbable", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Returns an array of all tabbable DOM nodes within a containing node.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132255
119