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

Commit

Permalink
Merge pull request #456 from arv/fix-class-list-breakage
Browse files Browse the repository at this point in the history
Fix classList breakage
  • Loading branch information
dfreedm committed Jun 9, 2014
2 parents 76312db + d6b360a commit 26f93ae
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 26f93ae

Please sign in to comment.