Skip to content

Commit ab2dc73

Browse files
authored
Merge pull request #223 from jparkerweb/develop
fix grow button js error
2 parents a573372 + 77c79df commit ab2dc73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/modal/modals/generateAIBannerModal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ export class GenerateAIBannerModal extends Modal {
696696
});
697697

698698
promptContainer.createDiv({ cls: 'setting-item-name', text: '🖋️ Creative Banner Prompt' });
699-
promptContainer.createDiv({
699+
promptContainer.createDiv({
700700
cls: 'setting-item-description',
701701
text: 'TIP ⇢ Type a few words and then press the "🌱 GROW IDEA" button to transform your basic idea into something special!',
702702
attr: {
@@ -1233,8 +1233,8 @@ export class GenerateAIBannerModal extends Modal {
12331233
console.error('Failed to get prompt inspiration:', error);
12341234
new Notice('Failed to get prompt inspiration. Please try again.');
12351235
} finally {
1236-
rewritePromptButton.textContent = originalText;
1237-
rewritePromptButton.disabled = false;
1236+
inspirationFromSeedButton.textContent = originalText;
1237+
inspirationFromSeedButton.disabled = false;
12381238
}
12391239
}
12401240

0 commit comments

Comments
 (0)