summaryrefslogtreecommitdiff
path: root/includes/view/UserDriverLicenses_view.php
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2018-08-11 22:16:57 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-11 22:16:57 +0200
commit28349b69a8e591ddd2472bd53a3029de96444696 (patch)
tree77e5575fb777768718546a398fa797c041117970 /includes/view/UserDriverLicenses_view.php
parent3d245660c53da4b4da832c3139329e091dbfac3d (diff)
Changed JS to use single quotes instead of double quotes
Diffstat (limited to 'includes/view/UserDriverLicenses_view.php')
-rw-r--r--includes/view/UserDriverLicenses_view.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/view/UserDriverLicenses_view.php b/includes/view/UserDriverLicenses_view.php
index b92f5f07..be21ca53 100644
--- a/includes/view/UserDriverLicenses_view.php
+++ b/includes/view/UserDriverLicenses_view.php
@@ -53,18 +53,18 @@ function UserDriverLicense_edit_view($user_source, $wants_to_drive, $user_driver
]),
'<script type="text/javascript">
$(function() {
- var checkbox = $("#wants_to_drive");
- if(checkbox.is(":checked"))
- $("#driving_license").show();
+ var checkbox = $(\'#wants_to_drive\');
+ if(checkbox.is(\':checked\'))
+ $(\'#driving_license\').show();
else
- $("#driving_license").hide();
+ $(\'#driving_license\').hide();
checkbox.click(
function() {
- if($("#wants_to_drive").is(":checked"))
- $("#driving_license").show();
+ if($(\'#wants_to_drive\').is(\':checked\'))
+ $(\'#driving_license\').show();
else
- $("#driving_license").hide();
+ $(\'#driving_license\').hide();
}
);
});