Bug Description
There is a duplicate type="text/javascript" attribute on the script tag importing materialize.min.js in the src/popup.html file.
Steps to Reproduce
Steps to reproduce the behavior:
- Open the file
src/popup.html in the repository.
- Scroll down to the bottom of the file (line 616).
- Observe the script tag:
<script type="text/javascript" type="text/javascript" src="materialize/js/materialize.min.js"></script>.
- See the duplicated
type attribute.
Expected Behavior
The <script> tag should only contain a single type="text/javascript" attribute, or omit it entirely as it is the default for JavaScript in HTML5.
Actual Behavior
The <script> tag includes type="text/javascript" twice, which is invalid HTML syntax.
Screenshots
N/A
Additional Context
While modern browsers gracefully handle duplicate attributes by ignoring the subsequent ones, this causes HTML validation to fail. Removing the duplicate cleans up the codebase and ensures standard compliance.
Contribution Checklist
Bug Description
There is a duplicate
type="text/javascript"attribute on the script tag importingmaterialize.min.jsin thesrc/popup.htmlfile.Steps to Reproduce
Steps to reproduce the behavior:
src/popup.htmlin the repository.<script type="text/javascript" type="text/javascript" src="materialize/js/materialize.min.js"></script>.typeattribute.Expected Behavior
The
<script>tag should only contain a singletype="text/javascript"attribute, or omit it entirely as it is the default for JavaScript in HTML5.Actual Behavior
The
<script>tag includestype="text/javascript"twice, which is invalid HTML syntax.Screenshots
N/A
Additional Context
While modern browsers gracefully handle duplicate attributes by ignoring the subsequent ones, this causes HTML validation to fail. Removing the duplicate cleans up the codebase and ensures standard compliance.
Contribution Checklist