diff options
| author | Okan SUMER (osu) <osu@odoo.com> | 2020-03-10 08:59:12 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-04-14 08:29:56 +0000 |
| commit | 4ce1340f4f2bfb0adfbb56b59a9617a8624bd742 (patch) | |
| tree | 1f3545900410ae1ac0bb8177125f52080acd0a98 /addons | |
| parent | b30b591e35a298923ab959163f4110c65687a385 (diff) | |
[FIX] web_tour: fix tip ideal location
This commit adds the case where the overflow of an anchor ancestor is
'hidden auto' and not only 'hidden'.
Part of https://github.com/odoo/odoo/pull/48678
task-2228694
Diffstat (limited to 'addons')
| -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 a33169c37be..6ccdb7b387c 100644 --- a/addons/web_tour/static/src/js/tip.js +++ b/addons/web_tour/static/src/js/tip.js @@ -137,7 +137,7 @@ var Tip = Widget.extend({ $location.hasClass('dropdown-menu') || $location.hasClass('o_notebook_headers') || ( - (o === "visible" || o === "hidden") && + (o === "visible" || o.includes("hidden")) && // Possible case where the overflow = "hidden auto" p !== "fixed" && $location[0].tagName.toUpperCase() !== 'BODY' ) |
