summaryrefslogtreecommitdiff
path: root/addons/website_mail/static
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-03-27 17:17:21 +0100
committerOlivier Dony <odo@openerp.com>2015-03-27 17:23:04 +0100
commit26abbf676dcba5ebebdf4b2912384ea7367e3bf5 (patch)
tree3fb4d0cec576a7d33a5de305ccff4dd87abec9f9 /addons/website_mail/static
parent62bc5c81232f5baf06276904e77ad1a982fbfa0b (diff)
[FIX] website_mail: remove unused alert div, fixes look of input-group-btn
Bootstrap's CSS depends on the input-group-btn element being the first/last child of its parent. This was not the case because of the invisible and useless alert.
Diffstat (limited to 'addons/website_mail/static')
-rw-r--r--addons/website_mail/static/src/js/follow.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/website_mail/static/src/js/follow.js b/addons/website_mail/static/src/js/follow.js
index 54b64c949cf..c173f68ecae 100644
--- a/addons/website_mail/static/src/js/follow.js
+++ b/addons/website_mail/static/src/js/follow.js
@@ -19,9 +19,8 @@
self.$target.removeClass("hidden");
});
- // not if editable mode to allow designer to edit alert field
+ // not if editable mode to allow designer to edit
if (!editable_mode) {
- $('.js_follow > .alert').addClass("hidden");
$('.js_follow > .input-group-btn.hidden').removeClass("hidden");
this.$target.find('.js_follow_btn, .js_unfollow_btn').on('click', function (event) {
event.preventDefault();