Skip to content

Commit

Permalink
fix(cash): make barcode read instantaneous
Browse files Browse the repository at this point in the history
This commit removes the timeout on the barcode read to make it
instantaneous.  During user testing, it appears that the barcodes are
not being read fast enough for users to know that the modal is working.
  • Loading branch information
Jonathan Niles authored and sfount committed Jan 19, 2017
1 parent 089cdc4 commit 51b29a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/partials/cash/modals/scanBarcode.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function CashBarController($state, Cashboxes, Notify, Barcodes, Patients, bhCons
var vm = this;
var id = $state.params.id;

var MODAL_CLOSE_TIMEOUT = 500;
var MODAL_CLOSE_TIMEOUT = 0;

vm.triggerBarcodeRead = triggerBarcodeRead;
vm.dismiss = dismiss;
Expand Down

0 comments on commit 51b29a7

Please sign in to comment.