|
@@ -207,9 +207,8 @@ function _postTweetContent() {
|
|
|
if (tempNftGroupPost && tempNftGroupPost.groupId) {
|
|
|
publishNFTTweetPost(tempNftGroupPost)
|
|
|
// 非首页处理
|
|
|
- let jumpUrl = new URL(tempNftGroupPost['entryUrl'] || '');
|
|
|
- let pathname = jumpUrl.pathname || '';
|
|
|
- if (pathname !== '/home') {
|
|
|
+ let homeTag = document.querySelectorAll('div[data-testid="toolBar"]');
|
|
|
+ if (homeTag.length === 1) {
|
|
|
jumpTwitterDetailByAlert()
|
|
|
}
|
|
|
}
|