add font for print setting
This commit is contained in:
@@ -39,18 +39,18 @@
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).on('turbolinks:load', function () {
|
||||
$(document).ready(function() {
|
||||
$(".pin_pad").click(function(event) {
|
||||
event.preventDefault();
|
||||
event.preventDefault();
|
||||
var old_value = $("#login_form_password").val();
|
||||
var value = $(this).data("value");
|
||||
|
||||
console.log(old_value);
|
||||
console.log(value);
|
||||
if (value == "CLR") {
|
||||
$("#login_form_password").val("");
|
||||
} else if (value == "ENT") {
|
||||
$("#new_login_form").submit();
|
||||
} else {
|
||||
var old_value = $("#login_form_password").val();
|
||||
console.log(old_value);
|
||||
} else {
|
||||
$("#login_form_password").val(old_value + value);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user