Skip to content

Commit

Permalink
ユーザーアイコンの表示がFlakyなため実行を遅らせる
Browse files Browse the repository at this point in the history
  • Loading branch information
mousu-a committed Mar 5, 2025
1 parent 7e66405 commit d01bda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/user-icon-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class {
headers: { 'X-Requested-With': 'XMLHttpRequest' }
})
this.urls = await response.json()
this._callbackFunc()
setTimeout(() => this._callbackFunc(), 100)
Array.from(textareas).forEach((textarea) => {
textarea.addEventListener('input', () => {
this._callbackFunc()
Expand Down

0 comments on commit d01bda1

Please sign in to comment.