#49 Fixed regex for page

This commit is contained in:
Serraniel 2020-11-15 21:01:05 +01:00
parent 1a406c85b6
commit 35ed51d3b2
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -17,7 +17,7 @@ export function init() {
node.querySelectorAll(TOOLTIP_TAG_NAME).forEach(tooltip => changeTooltipDirection(tooltip)); 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); let directionStr = tooltip.getAttribute(DIRECTION_ATTRIBUTE);
if (directionStr === 'top') { if (directionStr === 'top') {
tooltip.setAttribute(DIRECTION_ATTRIBUTE, 'right'); tooltip.setAttribute(DIRECTION_ATTRIBUTE, 'right');
} }
} }