From 3c4f88b30ab2a4f5b734a210fe9c81726b0d987a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Fri, 21 Aug 2015 12:16:39 +0200 Subject: [IMP] web: increase tooltip delay timer from 500 to 1000, as requested by fp --- addons/web/static/src/js/framework/misc.js | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/web/static/src/js/framework/misc.js') diff --git a/addons/web/static/src/js/framework/misc.js b/addons/web/static/src/js/framework/misc.js index ef073d1ab0d..b61dee5862f 100644 --- a/addons/web/static/src/js/framework/misc.js +++ b/addons/web/static/src/js/framework/misc.js @@ -241,6 +241,7 @@ $.fn.tooltip.Constructor.DEFAULTS.placement = 'auto top'; $.fn.tooltip.Constructor.DEFAULTS.html = true; $.fn.tooltip.Constructor.DEFAULTS.trigger = 'hover focus click'; $.fn.tooltip.Constructor.DEFAULTS.container = 'body'; +$.fn.tooltip.Constructor.DEFAULTS.delay = { show: 1000, hide: 0 }; //overwrite bootstrap tooltip method to prevent showing 2 tooltip at the same time var bootstrap_show_function = $.fn.tooltip.Constructor.prototype.show; $.fn.modal.Constructor.prototype.enforceFocus = function () { }; -- cgit v1.2.3