From 0f1404bcb46e14134b884a40c6b1d22b54b7f7bf Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Thu, 28 Feb 2019 10:24:41 -0800 Subject: [PATCH] 2.3.1 --- dist/details-element-polyfill.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/details-element-polyfill.js b/dist/details-element-polyfill.js index 6f7f710..ee20b5a 100644 --- a/dist/details-element-polyfill.js +++ b/dist/details-element-polyfill.js @@ -1,5 +1,5 @@ /* -Details Element Polyfill 2.3.0 +Details Element Polyfill 2.3.1 Copyright © 2019 Javan Makhmali */ (function() { @@ -109,7 +109,7 @@ Copyright © 2019 Javan Makhmali forEach.call(mutations, function(mutation) { var target = mutation.target, attributeName = mutation.attributeName; if (target.tagName == "DETAILS" && attributeName == "open") { - triggerToggle(toggle); + triggerToggle(target); } }); }).observe(document.documentElement, { diff --git a/package.json b/package.json index 3b05cee..b9d2047 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "details-element-polyfill", - "version": "2.3.0", + "version": "2.3.1", "description": "HTML
element polyfill", "main": "dist/details-element-polyfill.js", "files": [