diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 625eb4799eb..63aba1dbde5 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -586,6 +586,7 @@ instance.web.ViewManager = instance.web.Widget.extend({ this.$el.find('.oe_view_manager_switch a').attr('data-toggle', 'tooltip'); this.$el.find('.oe_view_manager_switch a').click(function() { self.switch_mode($(this).data('view-type')); + $(this).tooltip('destroy'); }).tooltip({ container: 'body', html: true, diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 98355d99d83..fde6a468715 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -423,7 +423,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ }, on_record_moved : function(record, old_group, old_index, new_group, new_index) { var self = this; - $.fn.tooltip('destroy'); + record.$el.children().find('[title]').tooltip('destroy'); $(old_group.$el).add(new_group.$el).find('.oe_kanban_aggregates, .oe_kanban_group_length').hide(); if (old_group === new_group) { new_group.records.splice(old_index, 1);