Remove type="text/javascript" from <script> tags

This commit is contained in:
Igor Scheller 2023-02-03 22:45:46 +01:00 committed by Michael Weimann
parent e0a702ec3b
commit e2f387d111
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ function UserDriverLicense_edit_view($user_source, $user_driver_license)
form_submit('submit', __('Save')),
]),
'
<script type="text/javascript">
<script>
const drivingLicenseElement = document.getElementById("driving_license");
if (drivingLicenseElement) {

View File

@ -10,7 +10,7 @@
<link rel="icon" href="{{ asset('assets/angel.svg') }}"/>
<link rel="stylesheet" type="text/css" href="{{ asset('assets/theme' ~ themeId ~ '.css') }}"/>
<script type="text/javascript" src="{{ asset('assets/vendor.js') }}"></script>
<script src="{{ asset('assets/vendor.js') }}"></script>
{% if page() in ['news', 'meetings'] and is_user() and has_permission_to('atom') -%}
{% set parameters = {'key': user.api_key} -%}

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Maintenance - %APP_NAME%</title>
<link rel="stylesheet" type="text/css" href="%ASSETS_PATH%/assets/theme0.css"/>
<script type="text/javascript" src="%ASSETS_PATH%/assets/vendor.js"></script>
<script src="%ASSETS_PATH%/assets/vendor.js"></script>
</head>
<body>
<div class="navbar navbar-light bg-light fixed-top">