#49 Fixed regex for page
This commit is contained in:
parent
1a406c85b6
commit
35ed51d3b2
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ export function init() {
|
|||
node.querySelectorAll(TOOLTIP_TAG_NAME).forEach(tooltip => changeTooltipDirection(tooltip));
|
||||
}
|
||||
}
|
||||
}, "^/profile/[0-9]*\?tab=6$");
|
||||
}, "^/profile/[0-9]*$");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -28,6 +28,6 @@ function changeTooltipDirection(tooltip) {
|
|||
let directionStr = tooltip.getAttribute(DIRECTION_ATTRIBUTE);
|
||||
|
||||
if (directionStr === 'top') {
|
||||
tooltip.setAttribute(DIRECTION_ATTRIBUTE, 'right');
|
||||
tooltip.setAttribute(DIRECTION_ATTRIBUTE, 'right');
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue