WP 4.7.5 – jQuery bug
-
I am getting this JS error:
n.addClass(...).position(...).trigger is not a function
This breaks down to$container .addClass('custom-position') .position(reposition) .trigger('popmakeAfterReposition');
Which is an obvious bug, since jQuery .position() returns PLAIN OBJECT with just top/left properties, so no trigger can be called. Did you probably mean this?:
$container .addClass('custom-position') .position(reposition); $container.trigger('popmakeAfterReposition');
…since that does not throw any JS error ?? and pop up works after this , it is weirdly moved a side but I guess that is some specific CSS issue ?? … but it seems you have just buggy responsive CSS ??
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘WP 4.7.5 – jQuery bug’ is closed to new replies.