WordPress.org

Ready to get started?Download WordPress

Forums

No Right Click Images Plugin
[resolved] JavaScript comments (2 posts)

  1. i.ahmed
    Member
    Posted 7 months ago #

    Hello

    Thank you for creating this plugin - it's the most effective one I've come across. Please can you replace all JavaScript comments from // comment here to /* comment here */ so the site does not break on minification.

    Thanks.

    http://wordpress.org/plugins/no-right-click-images-plugin/

  2. kpgraham
    Member
    Plugin Author

    Posted 6 months ago #

    I did not know that // comments break minification. I thought that they were stripped. I did know that the minify broke the code, but I thought it was because I left off a semicolon somewhere, but I couldn't find it. This explains it.

    I will change for the next release.

    Keith

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.