Skip to content
This repository was archived by the owner on Jun 8, 2018. It is now read-only.

Commit e640226

Browse files
committed
forgot to put this before calling the method
1 parent 92795c2 commit e640226

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/pickathing-export.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ export default class Pickathing {
11231123

11241124
if (typeof fireOnChange == 'undefined' || fireOnChange == true) {
11251125
this.onChange();
1126-
triggerNativeChange();
1126+
this.triggerNativeChange();
11271127
}
11281128
}
11291129

@@ -1137,7 +1137,7 @@ export default class Pickathing {
11371137

11381138
if (fireOnChange) {
11391139
this.onChange();
1140-
triggerNativeChange();
1140+
this.triggerNativeChange();
11411141
}
11421142
}
11431143

@@ -1319,7 +1319,7 @@ export default class Pickathing {
13191319
}
13201320

13211321
this.onChange(this.value);
1322-
triggerNativeChange();
1322+
this.triggerNativeChange();
13231323
}
13241324

13251325
if (el.classList.contains('Pickathing-selectedField')) {
@@ -1339,7 +1339,7 @@ export default class Pickathing {
13391339
}
13401340

13411341
this.onChange(this.value);
1342-
triggerNativeChange();
1342+
this.triggerNativeChange();
13431343
}
13441344

13451345
});

src/pickathing.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ class Pickathing {
11231123

11241124
if (typeof fireOnChange == 'undefined' || fireOnChange == true) {
11251125
this.onChange();
1126-
triggerNativeChange();
1126+
this.triggerNativeChange();
11271127
}
11281128
}
11291129

@@ -1137,7 +1137,7 @@ class Pickathing {
11371137

11381138
if (fireOnChange) {
11391139
this.onChange();
1140-
triggerNativeChange();
1140+
this.triggerNativeChange();
11411141
}
11421142
}
11431143

@@ -1319,7 +1319,7 @@ class Pickathing {
13191319
}
13201320

13211321
this.onChange(this.value);
1322-
triggerNativeChange();
1322+
this.triggerNativeChange();
13231323
}
13241324

13251325
if (el.classList.contains('Pickathing-selectedField')) {
@@ -1339,7 +1339,7 @@ class Pickathing {
13391339
}
13401340

13411341
this.onChange(this.value);
1342-
triggerNativeChange();
1342+
this.triggerNativeChange();
13431343
}
13441344

13451345
});

0 commit comments

Comments
 (0)