• Resolved theepicpen

    (@theepicpen)


    Hey there.

    I updated your plugin yesterday (to Version 3.0.7), and today I discovered that I can no longer “Replace Media” files due to what seems like a javascript error. Neither drag-and-drop nor manually choosing a file via clicking “DRAG AND DROP FILES HERE” results in any change on the page (the new file does not show in the right-hand window). I’ve tried completing this action in both Firefox and Chrome with no success.

    Firefox’s Development Tools shows the following error:

    Uncaught SyntaxError: expected expression, got '<' replace-media.js:1:1

    Viewing the source at that location unfortunately only highlights <!DOCTYPE html>, which doesn’t seem very helpful.

    Rolling back to the previous version of the plugin (Version 3.0.6) fixes the issue.

The topic ‘Javascript syntax error in new update’ is closed to new replies.