• Resolved Bence Szalai

    (@grapestain)


    Hi!

    I’ve found a subtle issue with the JavaScript that’s being added to the website: one of the spaces in the script is actually a no-break-space. It doesn’t cause an issue normally, but I have a special case where I process all scripts before sent to the browser, that’s how I’ve noticed, as it caused a script error because the no-break-space character become the HTML equivalent  .

    The issues is with the space between the word onhover and the following :. It is in line 70:
    onhover : false,
    in this file:
    /wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/library/enjoyinstagram_shortcode_grid.php

    It’s a one character fix to replace with a regular space, so please do it once you have a chance! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mediabeta

    (@mediabeta)

    Thank you very much @grapestain for your warning.
    We are publishing a new version and We will implement your suggestion.

    The force of www.remarpro.com Community is people as you ??

    Thread Starter Bence Szalai

    (@grapestain)

    Good to hear it’ll be fixed! ??

    Same applies to enjoyinstagram_shortcode_grid_widget.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Accidental no break space in JavaScript’ is closed to new replies.