diff --git a/lib/visual.inc.php b/lib/visual.inc.php
index 93a892aa1657c2ec98ded0094c1fc8306f9370d9..9dca1d189c8d27fa6c4d4f01020905fd62dcaeb2 100644
--- a/lib/visual.inc.php
+++ b/lib/visual.inc.php
@@ -600,7 +600,7 @@ function tooltipIcon($text, $important = false, $html = false): string
         'text'       => $text,
         'important'  => $important,
         'html'       => $html,
-        'tooltip_id' => md5($text) . random_bytes(4)
+        'tooltip_id' => md5($text)
     ]);
 }
 
@@ -618,7 +618,7 @@ function tooltipHtmlIcon($text, $important = false)
         'text'       => $text,
         'important'  => $important,
         'html'       => true,
-        'tooltip_id' => md5($text) . random_bytes(4)
+        'tooltip_id' => md5($text)
     ]);
 }