turbowrap-issue-widget 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/issue-widget.es.js
CHANGED
|
@@ -6066,7 +6066,7 @@ class zc {
|
|
|
6066
6066
|
const A = this.shadow.getElementById("iw-trigger"), t = this.shadow.getElementById("iw-overlay"), r = this.shadow.getElementById("iw-close");
|
|
6067
6067
|
A == null || A.addEventListener("click", () => this.open()), t == null || t.addEventListener("click", () => this.close()), r == null || r.addEventListener("click", () => this.close()), this.shadow.addEventListener("click", (s) => {
|
|
6068
6068
|
const n = s.target;
|
|
6069
|
-
n.id === "iw-next" ? this.handleNext() : n.id === "iw-back" ? this.handleBack() : n.id === "iw-done" ? (this.close(), this.reset()) : n.id === "iw-screenshot-btn" || n.closest("#iw-screenshot-btn") ? this.handleScreenshotCapture() : n.id === "iw-upload-btn" || n.closest("#iw-upload-btn") ? this.handleUploadClick() : n.id === "iw-element-btn" || n.closest("#iw-element-btn") ? this.handleElementPick() : n.id === "iw-remove-screenshot" ? this.handleRemoveScreenshot() : n.id === "iw-remove-element" && this.handleRemoveElement();
|
|
6069
|
+
n.id === "iw-next" || n.closest("#iw-next") ? this.handleNext() : n.id === "iw-back" || n.closest("#iw-back") ? this.handleBack() : n.id === "iw-done" || n.closest("#iw-done") ? (this.close(), this.reset()) : n.id === "iw-screenshot-btn" || n.closest("#iw-screenshot-btn") ? this.handleScreenshotCapture() : n.id === "iw-upload-btn" || n.closest("#iw-upload-btn") ? this.handleUploadClick() : n.id === "iw-element-btn" || n.closest("#iw-element-btn") ? this.handleElementPick() : n.id === "iw-remove-screenshot" ? this.handleRemoveScreenshot() : n.id === "iw-remove-element" && this.handleRemoveElement();
|
|
6070
6070
|
}), this.shadow.addEventListener("change", (s) => {
|
|
6071
6071
|
var i;
|
|
6072
6072
|
const n = s.target;
|