@rails/actiontext
Advanced tools
Comparing version 7.1.3 to 7.2.0-beta1
@@ -774,5 +774,5 @@ var sparkMd5 = { | ||
function didClick(event) { | ||
const button = event.target.closest("button, input"); | ||
if (button && button.type === "submit" && button.form) { | ||
submitButtonsByForm.set(button.form, button); | ||
const {target: target} = event; | ||
if ((target.tagName == "INPUT" || target.tagName == "BUTTON") && target.type == "submit" && target.form) { | ||
submitButtonsByForm.set(target.form, target); | ||
} | ||
@@ -779,0 +779,0 @@ } |
@@ -756,5 +756,5 @@ (function(factory) { | ||
function didClick(event) { | ||
const button = event.target.closest("button, input"); | ||
if (button && button.type === "submit" && button.form) { | ||
submitButtonsByForm.set(button.form, button); | ||
const {target: target} = event; | ||
if ((target.tagName == "INPUT" || target.tagName == "BUTTON") && target.type == "submit" && target.form) { | ||
submitButtonsByForm.set(target.form, target); | ||
} | ||
@@ -761,0 +761,0 @@ } |
{ | ||
"name": "@rails/actiontext", | ||
"version": "7.1.3", | ||
"version": "7.2.0-beta1", | ||
"description": "Edit and display rich text in Rails applications", | ||
@@ -5,0 +5,0 @@ "module": "app/assets/javascripts/actiontext.esm.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
501064
13671
1