Skip to content

Commit

Permalink
tentar resolver problema #95
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoclpf committed May 1, 2021
1 parent 96807a4 commit 6ba94b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ app.form = (function (thisModule) {
function init () {
if (app.functions.isThis_iOS()) {
$('#plateDiv').hide()
$('#plate').removeClass('mandatory')
}
}

Expand Down Expand Up @@ -130,7 +131,7 @@ app.form = (function (thisModule) {
}

// detects if the Portuguese car plate is correctly filled
if (!$('#free_plate').is(':checked') && !isCarPlateOK() && !DEBUG) {
if (!app.functions.isThis_iOS() && !$('#free_plate').is(':checked') && !isCarPlateOK() && !DEBUG) {
$.jAlert({
title: 'Erro na matrícula!',
theme: 'red',
Expand Down

0 comments on commit 6ba94b5

Please sign in to comment.