summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-07-19 15:06:42 +0200
committerqsm-odoo <qsm@odoo.com>2016-07-19 15:09:47 +0200
commit5bfcb697c4b834e52d3d11a784cd4d6de402b14a (patch)
tree893c712da0fc015b5b998cf0b1757c99b1a9411a
parent0d6527c901a835342bb7e5fa5db178f9ad627c8e (diff)
[FIX] website: remove useless extra trigger in banner tour
The tip does not have to wait for this extra_trigger to show up. Also, waiting for it seems to induce some bugs on chrome under certain screen sizes, so best to avoid them. Alse reduce the size of this tip as it is too big for small screen sizes.
-rw-r--r--addons/website/static/src/js/website.tour.banner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js
index 1cd13193ebc..7f51d9d54c4 100644
--- a/addons/website/static/src/js/website.tour.banner.js
+++ b/addons/website/static/src/js/website.tour.banner.js
@@ -127,9 +127,9 @@ odoo.define("website.tour.banner", function (require) {
run: "drag_and_drop",
}, {
trigger: "#wrapwrap .s_text_block_image_fw h2",
- extra_trigger: ".oe_overlay_options .oe_options",
content: _t("Click in the title text and start editing it."),
position: "left",
+ width: 150,
run: "text",
}, {
trigger: ".oe_overlay_options .oe_options",