Skip to content

Commit

Permalink
fix: use tooltip from header menu options is the correct location (#626)
Browse files Browse the repository at this point in the history
- the `menu` variable can only have `items` since it comes from the column definition
  • Loading branch information
ghiscoding committed Aug 28, 2021
1 parent 9c3ce51 commit 44fe869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/slick.headermenu.js
Expand Up @@ -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
Expand Down

0 comments on commit 44fe869

Please sign in to comment.