You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can i change the code :
src/Presentation/Nop.Web.Framework/TagHelpers/Shared/NopScriptTagHelper.cs
if (!output.Attributes.ContainsName("type")) // we don't touch other types e.g. text/template
output.Attributes.SetAttribute("type", MimeTypes.TextJavascript);
to
if (!context.AllAttributes.ContainsName("type")) // we don't touch other types e.g. text/template
output.Attributes.SetAttribute("type", MimeTypes.TextJavascript);
thanks
The text was updated successfully, but these errors were encountered:
nopCommerce version: 4.80.1
src/Presentation/Nop.Web.Framework/TagHelpers/Shared/NopScriptTagHelper.cs
to
thanks
The text was updated successfully, but these errors were encountered: