diff --git a/jquery.popupoverlay.js b/jquery.popupoverlay.js index bb46a7c..b7c37a4 100644 --- a/jquery.popupoverlay.js +++ b/jquery.popupoverlay.js @@ -602,7 +602,7 @@ $tooltipanchor = $('.' + el.id + opensuffix + '[data-popup-ordinal="' + ordinal + '"]'); } - var linkOffset = $tooltipanchor.offset(); + var linkOffset = $tooltipanchor.offset() || { left: 0, top: 0 }; // Horizontal position for tooltip if (options.horizontal == 'right') {