diff options
Diffstat (limited to 'plugins/jetpack/modules/likes/queuehandler.js')
-rw-r--r-- | plugins/jetpack/modules/likes/queuehandler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/likes/queuehandler.js b/plugins/jetpack/modules/likes/queuehandler.js index 1917ab9a..0db8658a 100644 --- a/plugins/jetpack/modules/likes/queuehandler.js +++ b/plugins/jetpack/modules/likes/queuehandler.js @@ -193,7 +193,7 @@ function JetpackLikesMessageListener( event, message ) { $list.append( element ); } ); - offset = jQuery( '[name=\'' + event.parent + '\']' ).offset(); + offset = jQuery( 'body' ).find( '[name=\'' + event.parent + '\']' ).offset(); $container.css( 'left', offset.left + event.position.left - 10 + 'px' ); $container.css( 'top', offset.top + event.position.top - 33 + 'px' ); |