mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
feat(editor): Overhaul document title management (#10999)
This commit is contained in:
committed by
GitHub
parent
63e6f1fa38
commit
bb2895689f
@@ -48,10 +48,6 @@ export const sanitizeIfString = <T>(message: T): string | T => {
|
||||
return message;
|
||||
};
|
||||
|
||||
export function setPageTitle(title: string) {
|
||||
window.document.title = title;
|
||||
}
|
||||
|
||||
export function convertRemToPixels(rem: string) {
|
||||
return parseInt(rem, 10) * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user