Custom Javascript (Post) – still in problem with v2.7.34
-
Hello, I post a message 10 months ago about a problem with the settings and Custom Javascript (Post). https://ww.wp.xz.cn/support/topic/custom-javascript-post-code-change-since-2-7-29/
With version 2.7.34 it’s ok when I save it in the settings but the result is the same. You can see in the developer console that the function is not correct.
post: function( $ ){
// Custom JavaScript (Post)
$('.fbx-instance').on('foobox.beforeShow', e) {
var $element = $(e.fb.item.element), //the anchor tag
$fooboxInstance = e.fb.instance, //the foobox instance
$modal = e.fb.instance.modal.element; //the modal object
//your custom code goes here...Caroline
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Custom Javascript (Post) – still in problem with v2.7.34’ is closed to new replies.