Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Fix classList breakage
Browse files Browse the repository at this point in the history
This fixes the breakage introduced in 76312db
  • Loading branch information
arv committed Jun 9, 2014
1 parent 76312db commit d6b360a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrappers/SVGElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// is an accessor on Element, but IE11 puts classList on HTMLElement, leaving
// SVGElement without a classList property. We therefore move the accessor for
// IE11.
if (!('classList' in window.SVGElement)) {
if (!('classList' in svgTitleElement)) {
var descr = Object.getOwnPropertyDescriptor(Element.prototype, 'classList');
Object.defineProperty(HTMLElement.prototype, 'classList', descr);
delete Element.prototype.classList;
Expand Down

0 comments on commit d6b360a

Please sign in to comment.