Skip to content

Commit

Permalink
Fixed listeners names
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Nov 3, 2024
1 parent c32fe04 commit e42fd92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/js/orchid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/js/controllers/listener_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class extends ApplicationController {
*
*/
connect() {
this.fieldsValue.forEach(name => {
this.watchedValue.forEach(name => {
document.querySelectorAll(`[name="${name}"]`)
.forEach((field) =>
field.addEventListener('change', () => this.debouncedHandleFieldChange())
Expand Down

0 comments on commit e42fd92

Please sign in to comment.