JS Bug with Firefox
-
Hi!
There is a bug (at least) in “wp-simple-galleries/wp-simple-gallery-admin.js”:
The first argument of the callback-functions should be “event” to be compatible with firefox. Chromium seems to add this itself, so this may have been overlooked while developing
From:
$(‘#wpsimplegallery_upload_button’).on(‘click’, function() {Change to:
$(‘#wpsimplegallery_upload_button’).on(‘click’, function(event) {This may also be required in other callbacks of your plugin.
Regards,
Faldrian
The topic ‘JS Bug with Firefox’ is closed to new replies.