mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Added ability to clear the BOLO plate
This commit is contained in:
@@ -89,6 +89,7 @@ const elements =
|
||||
plateReaderBox: $( "#plateReaderBox" ),
|
||||
boloText: $( "#boloText" ),
|
||||
setBoloBtn: $( "#setBoloPlate" ),
|
||||
clearBoloBtn: $( "#clearBoloPlate" ),
|
||||
closePrBtn: $( "#closePlateReaderSettings" ),
|
||||
|
||||
openHelp: $( "#helpBtn" ),
|
||||
@@ -766,6 +767,11 @@ elements.setBoloBtn.click( function() {
|
||||
}
|
||||
} )
|
||||
|
||||
// Sets the on click function for the clear BOLO button
|
||||
elements.clearBoloBtn.click( function() {
|
||||
sendData( "clearBoloPlate", null );
|
||||
} )
|
||||
|
||||
// Checks what the user is typing into the plate box
|
||||
function checkPlateInput( event )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user