• Resolved doffine

    (@doffine)


    Hello all together,

    we get the following warning in Javascript console:

    “unreachable code after return statement
    chosen.jquery.min.js:516:12”

    How can this be fixed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    This does not affect the plugin or third-party software.

    You can change code in file \wp-content\plugins\woocommerce-products-filter\index.php ( https://c2n.me/3R3OYMW.png ) AND ( https://c2n.me/3R3P6HZ.png )

    Thread Starter doffine

    (@doffine)

    Hi pavloborysenko,

    why don’t you change this code in your plugin and release a new version?
    If we change the code this change will be overwritten by future updates of your plugin.
    We think you should take care that your plugin doesn’t cause any Warnings, shouldn’t you?

    Hello

    this warning is only for firefox – and does not affect the functional in any way.

    The author of a third-party library will fix this – and we update the library

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Javascript Warning “unreachable code after return statement”’ is closed to new replies.