Browse Source

Improve tooltip

Jeffrey Chen 7 tháng trước cách đây
mục cha
commit
767e60bd60
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      app/src/dialog/tooltip.ts

+ 0 - 2
app/src/dialog/tooltip.ts

@@ -20,8 +20,6 @@ export const showTooltip = (message: string, target: Element, tooltipClass?: str
 
     if (tooltipClass) {
         messageElement.classList.add("tooltip--" + tooltipClass);
-    } else {
-        messageElement.className = "tooltip";
     }
 
     let left = targetRect.left;