File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var PUPHPET = {};
12
12
* Loops through all data-* type attributes of element
13
13
*/
14
14
PUPHPET . updateOtherInput = function ( ) {
15
- $ ( document ) . on ( 'click' , '.update-other-input' , function ( e ) {
15
+ $ ( document ) . on ( 'click, change ' , '.update-other-input' , function ( e ) {
16
16
var $parent = $ ( this ) ;
17
17
18
18
$ . each ( $ ( this ) . data ( ) , function ( key , value ) {
@@ -138,7 +138,7 @@ PUPHPET.updateOtherInputSelect = function() {
138
138
* When element is checked, changes value of target
139
139
*/
140
140
PUPHPET . updateOtherInputOnCheck = function ( ) {
141
- $ ( document ) . on ( 'click' , '.update-other-input-on-check' , function ( e ) {
141
+ $ ( document ) . on ( 'click, change ' , '.update-other-input-on-check' , function ( e ) {
142
142
var $parent = $ ( this ) ;
143
143
144
144
if ( ! $parent . is ( ':checked' ) ) {
You can’t perform that action at this time.
0 commit comments