Index: lib/html/src/XMLElementWrappingImplementation.dart |
diff --git a/lib/html/src/XMLElementWrappingImplementation.dart b/lib/html/src/XMLElementWrappingImplementation.dart |
index dcd01546ab55c96bd07524855295355c2a9f54a4..b4d7a62e52224cdac86756152e0cc3fde736fa83 100644 |
--- a/lib/html/src/XMLElementWrappingImplementation.dart |
+++ b/lib/html/src/XMLElementWrappingImplementation.dart |
@@ -157,7 +157,7 @@ class XMLElementWrappingImplementation extends ElementWrappingImplementation |
int get tabIndex() { |
try { |
return Math.parseInt(_attr('tabIndex')); |
- } catch (BadNumberFormatException e) { |
+ } catch (FormatException e) { |
return 0; |
} |
} |