From 44fe86924970d1b5ad3ab3380ca17926604c7db0 Mon Sep 17 00:00:00 2001 From: Ghislain B Date: Sat, 28 Aug 2021 19:18:53 -0400 Subject: [PATCH] fix: use tooltip from header menu options is the correct location (#626) - the `menu` variable can only have `items` since it comes from the column definition --- plugins/slick.headermenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/slick.headermenu.js b/plugins/slick.headermenu.js index bed40ba0..14018536 100644 --- a/plugins/slick.headermenu.js +++ b/plugins/slick.headermenu.js @@ -180,8 +180,8 @@ $el.css("background-image", "url(" + options.buttonImage + ")"); } - if (menu.tooltip) { - $el.attr("title", menu.tooltip); + if (options.tooltip) { + $el.attr("title", options.tooltip); } $el