Optimized tooltip hide handling

This commit is contained in:
Bernd Bestel
2025-01-17 17:22:37 +01:00
parent ded742a7c1
commit 6605eeafd0
12 changed files with 7 additions and 49 deletions

View File

@@ -73,7 +73,7 @@ $.extend(true, $.fn.dataTable.defaults, {
{
var rowGroup = JSON.parse(Grocy.UserSettings[settingKey]);
// Check if there way changed. the draw event is called often therefore we have to check if it's really necessary
// The draw event is called often therefore we have to check if it's really necessary
if (rowGroup.enable !== api.rowGroup().enabled()
|| ("dataSrc" in rowGroup && rowGroup.dataSrc !== api.rowGroup().dataSrc()))
{