ZenphotoCMS Forum
<script type="text/javascript"> - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: <script type="text/javascript"> (/thread-13784.html)



<script type="text/javascript"> - ctdlg - 2022-12-20

Hello,

1.6 version uses
script type="text/javascript"
in 74 files (zp-core folder)

The type attribute is unnecessary for JavaScript resources.
This generates errors with
validator.w3.org

Do you plan to remove those attributes for a 1.6.1 version ?
I can do the job if you want, and give you a link to download those files.




<script type="text/javascript"> - acrylian - 2022-12-20

Yes, thanks, it is unnecessary indeed now but actually it generates warnings and not actual errors. It sort of a deprecation notice in terms of severity. That's why we didn't do it yet ad there was a lot more important to do ;-). We put that on the list for 1.6.1

I can do the job if you want, and give you a link to download those files.

Thanks but it will not work that way. If such a contribution would have to be via a pull request on Github as we constantly work on stuff. But that is a bit advanced usage than tickets so better just leave it to us.