diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index 453be324d56..f537f09a115 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -1126,7 +1126,7 @@ }, change_cursor : function () { - var _class = this.$target.attr("class"); + var _class = this.$target.attr("class") || ""; var col = _class.match(/col-md-([0-9-]+)/i); col = col ? +col[1] : 0; diff --git a/addons/website_blog/static/src/js/website.tour.blog.js b/addons/website_blog/static/src/js/website.tour.blog.js index b6701d74634..7079c52315d 100644 --- a/addons/website_blog/static/src/js/website.tour.blog.js +++ b/addons/website_blog/static/src/js/website.tour.blog.js @@ -88,8 +88,8 @@ { element: '.oe_active .oe_snippet_remove', placement: 'top', - title: _t("Delete the Title"), - content: _t("From this toolbar you can move, duplicate or delete the selected zone. Click on the garbage can image to delete the title."), + title: _t("Delete the block"), + content: _t("From this toolbar you can move, duplicate or delete the selected zone. Click on the garbage can image to delete the block. Or click on the Title and delete it."), }, { waitNot: '.oe_active .oe_snippet_remove:visible',