From e10f914670f2e589c1008f31ee6c18db1b05023c Mon Sep 17 00:00:00 2001 From: Jean-Roch Maitre Date: Thu, 3 Mar 2016 14:14:51 -0800 Subject: [PATCH] UI-1933: Added tooltips for groups features --- submodules/groups/groups.js | 6 ++++++ views/groups-row.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/submodules/groups/groups.js b/submodules/groups/groups.js index 3b5648c..69a19bd 100644 --- a/submodules/groups/groups.js +++ b/submodules/groups/groups.js @@ -175,6 +175,12 @@ define(function(require){ setTimeout(function() { template.find('.search-query').focus(); }); + monster.ui.tooltips(template, { + options: { + container: 'body' + } + }); + template.find('.grid-row:not(.title) .grid-cell').on('click', function() { var cell = $(this), type = cell.data('type'), diff --git a/views/groups-row.html b/views/groups-row.html index e22ca45..995fcda 100644 --- a/views/groups-row.html +++ b/views/groups-row.html @@ -30,7 +30,7 @@ {{#if extra.hasFeatures}} {{#each extra.mapFeatures}} {{#if this.active}} - + {{/if}} {{/each}} {{else}}