File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,14 @@ export class Dom {
118118 static readonly serialForm = new DomForm < ConnectionFormData > ( document . querySelector ( 'form[name=serial]' ) ! ) ;
119119 static readonly sendForm = new DomForm < SendFormData > ( document . querySelector ( 'form[name=send]' ) ! ) ;
120120 private static readonly functionCodeList = document . getElementById ( 'functionCodeList' ) ! ;
121- static readonly downloadSnifferButton = document . getElementById ( 'downloadSnifferButton' ) ! ;
122- static readonly clearSnifferButton = document . getElementById ( 'clearSnifferButton' ) ! ;
123121
124122 static addFunctionCodeListOption ( code : string , description : string ) : void {
125123 const option = document . createElement ( 'option' ) ;
126124 option . value = code ;
127125 option . appendChild ( document . createTextNode ( `${ Converters . byteToHex ( + code ) } ${ description } ` ) ) ;
128126 Dom . functionCodeList . appendChild ( option ) ;
129127 }
128+
129+ static readonly downloadSnifferButton = document . getElementById ( 'downloadSnifferButton' ) ! ;
130+ static readonly clearSnifferButton = document . getElementById ( 'clearSnifferButton' ) ! ;
130131}
You can’t perform that action at this time.
0 commit comments