summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome/menu.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-03-15 13:44:10 +0100
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commit2d5595fcbad73ed0ce03f048fdd870d9659bcd5e (patch)
tree2fa28e304ee7978e3d02d5732daf1eea07224b35 /addons/web/static/src/js/chrome/menu.js
parent770aec399c4e6e29cfc5854318cbda19a605315d (diff)
[REF] web, *: BS4, adapt use of tooltip/popover.js
Diffstat (limited to 'addons/web/static/src/js/chrome/menu.js')
-rw-r--r--addons/web/static/src/js/chrome/menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome/menu.js b/addons/web/static/src/js/chrome/menu.js
index 1e253ba54f7..8613e90afa8 100644
--- a/addons/web/static/src/js/chrome/menu.js
+++ b/addons/web/static/src/js/chrome/menu.js
@@ -143,7 +143,7 @@ var Menu = Widget.extend({
}
// add a tooltip to cropped menu items
this.$secondary_menus.find('.oe_secondary_submenu li a span').each(function() {
- $(this).tooltip(this.scrollWidth > this.clientWidth ? {title: $(this).text().trim(), placement: 'right'} :'destroy');
+ $(this).tooltip(this.scrollWidth > this.clientWidth ? {title: $(this).text().trim(), placement: 'right'} : 'dispose');
});
},
/**