Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enterprise 版で実行時エラーになる問題を修正 #70

Merged
merged 2 commits into from
Jul 9, 2021

Conversation

mizdra
Copy link
Owner

@mizdra mizdra commented Jul 8, 2021

@mizdra
Copy link
Owner Author

mizdra commented Jul 9, 2021

使えたよと報告があったので merge します!!!

@mizdra mizdra merged commit cc89ce8 into main Jul 9, 2021
@mizdra mizdra deleted the support-enterprise branch July 9, 2021 09:32
setProjectName(scrapbox.Project.name);
});
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
observer.observe(document.querySelector('title')!, { childList: true });
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

layout や projectName が変化する時 ~= ページが遷移した時 ~= title タグが更新された時 という仮定をもとに layout や projectName の変化を監視している。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant