Title: Custom Javascript (Post) &#8211; code change since 2.7.29
Last modified: June 18, 2024

---

# Custom Javascript (Post) – code change since 2.7.29

 *  Resolved [carot2016](https://wordpress.org/support/users/carot2016/)
 * (@carot2016)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/custom-javascript-post-code-change-since-2-7-29/)
 * Hello, we just update to 2.7.29 version and the code that was in Custom Javascript(
   Post) was updated.
 * from
 * $(‘.fbx-instance’).on(‘foobox.alterCaption’, function(e) {
   var $element = $(e.
   fb.item.element);
 * to
 * $(‘.fbx-instance’).on(‘foobox.alterCaption’,** e**) {
   var $element = $(e.fb.item.
   element);
 * This result in **No configuration for FooBox found.** in developper console and
   foobox is not working.

Viewing 1 replies (of 1 total)

 *  Plugin Support [elviiso](https://wordpress.org/support/users/elviiso/)
 * (@elviiso)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/custom-javascript-post-code-change-since-2-7-29/#post-17836604)
 * Hi [@carot2016](https://wordpress.org/support/users/carot2016/)
 * This is an issue we are aware of and will be releasing an update that contains
   a fix to resolve this very soon. Your patience during this period as we run some
   final tests is highly appreciated.
 * Kind regards,
   Elvis.

Viewing 1 replies (of 1 total)

The topic ‘Custom Javascript (Post) – code change since 2.7.29’ is closed to new
replies.

 * ![](https://ps.w.org/foobox-image-lightbox/assets/icon-256x256.gif?rev=2667030)
 * [Lightbox & Modal Popup WordPress Plugin - FooBox](https://wordpress.org/plugins/foobox-image-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foobox-image-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foobox-image-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/foobox-image-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foobox-image-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foobox-image-lightbox/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [elviiso](https://wordpress.org/support/users/elviiso/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/custom-javascript-post-code-change-since-2-7-29/#post-17836604)
 * Status: resolved