🎨 Improve tooltip
This commit is contained in:
parent
161e87e761
commit
75af4796f7
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export const initBlockPopover = (app: App) => {
|
|||
if (aElement) {
|
||||
const tooltipClasses: string[] = [];
|
||||
let tip = aElement.getAttribute("aria-label");
|
||||
if (aElement.classList.contains("ariaLabel--warning")) {
|
||||
if (aElement.classList.contains("has-tooltip--warning")) {
|
||||
tooltipClasses.push("error");
|
||||
}
|
||||
if (aElement.getAttribute("data-type") === "tab-header") {
|
||||
|
|
Loading…
Add table
Reference in a new issue