diff options
Diffstat (limited to 'addons/web_tour/static/src/js/tip.js')
| -rw-r--r-- | addons/web_tour/static/src/js/tip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_tour/static/src/js/tip.js b/addons/web_tour/static/src/js/tip.js index 9165e8983d1..afafd86d764 100644 --- a/addons/web_tour/static/src/js/tip.js +++ b/addons/web_tour/static/src/js/tip.js @@ -250,7 +250,7 @@ var Tip = Widget.extend({ } }, _get_ideal_location: function ($anchor = this.$anchor) { - var $location = $anchor; + var $location = this.info.location ? $(this.info.location) : $anchor; if ($location.is("html,body")) { return $(document.body); } |
