Merge pull request #35709 from sokumon/desktop-fixes
This commit is contained in:
commit
1bbf13bc05
2 changed files with 7 additions and 2 deletions
|
|
@ -595,8 +595,13 @@ class DesktopIconGrid {
|
|||
this.icons_html.push(icon_html);
|
||||
grid.append(icon_html);
|
||||
});
|
||||
this.setup_tooltip();
|
||||
}
|
||||
setup_tooltip() {
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
placement: "bottom",
|
||||
});
|
||||
}
|
||||
|
||||
setup_reordering(grid) {
|
||||
const me = this;
|
||||
this.hoverTarget = null;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
{% } %}
|
||||
{% if (!in_folder) { %}
|
||||
<div class="icon-caption">
|
||||
<div class="icon-title">{{ __(icon.label) }}</div>
|
||||
<div class="icon-title" data-toggle="tooltip" data-original-title="{{ __(icon.label) }}">{{ __(icon.label) }}</div>
|
||||
<div class="icon-subtitle"></div>
|
||||
</div>
|
||||
{% } %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue