File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -120,17 +120,17 @@ function newElement(elementType) {
120
120
return document . createElement ( elementType ) ;
121
121
}
122
122
123
- function addInputFieldAfter ( selector , name , value ) {
123
+ function addInputFieldAfter ( selector , type , name , value ) {
124
124
let input = newElement ( 'input' ) ;
125
- input . type = 'text' ;
125
+ input . type = type ;
126
126
input . name = name ;
127
127
input . value = value ;
128
128
getElement ( selector ) . after ( input ) ;
129
129
}
130
130
131
- function addInputFieldBefore ( selector , name , value ) {
131
+ function addInputFieldBefore ( selector , type , name , value ) {
132
132
let input = newElement ( 'input' ) ;
133
- input . type = 'text' ;
133
+ input . type = type ;
134
134
input . name = name ;
135
135
input . value = value ;
136
136
getElement ( selector ) . before ( input ) ;
You can’t perform that action at this time.
0 commit comments