Skip to content

Commit c67bdc4

Browse files
authored
fix(zhihu): update placeholder text for title input field (#183)
1 parent e4cb000 commit c67bdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sync/dynamic/zhihu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function DynamicZhihu(data: SyncData) {
7070
await new Promise((resolve) => setTimeout(resolve, 1000));
7171

7272
// 填写标题(如果有)
73-
const titleInput = (await waitForElement('textarea[placeholder="请输入标题(选填)"]')) as HTMLTextAreaElement;
73+
const titleInput = (await waitForElement('textarea[placeholder="添加标题(选填)"]')) as HTMLTextAreaElement;
7474
if (titleInput && title) {
7575
titleInput.value = title;
7676
titleInput.dispatchEvent(new Event('input', { bubbles: true }));

0 commit comments

Comments
 (0)