innoq / statuses

statuses
Apache License 2.0
13 stars 14 forks source link

Fix duplicate ids #78

Closed aheusingfeld closed 9 years ago

aheusingfeld commented 9 years ago

As stated by @FND, the jQuery code in https://github.com/innoq/statuses/blob/master/public/statuses/js/statuses.js#L19 introduces duplicate ids because it fetches the "reply-to" form which contains an <input id="text" ...> field. This id is already present in the <input> field at the top of the page and gets added again and again whenever a new "reply-to" form is added to the page.