Remove type="text/javascript" from <script> tags
This commit is contained in:
parent
e0a702ec3b
commit
e2f387d111
|
@ -52,7 +52,7 @@ function UserDriverLicense_edit_view($user_source, $user_driver_license)
|
||||||
form_submit('submit', __('Save')),
|
form_submit('submit', __('Save')),
|
||||||
]),
|
]),
|
||||||
'
|
'
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
const drivingLicenseElement = document.getElementById("driving_license");
|
const drivingLicenseElement = document.getElementById("driving_license");
|
||||||
|
|
||||||
if (drivingLicenseElement) {
|
if (drivingLicenseElement) {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<link rel="icon" href="{{ asset('assets/angel.svg') }}"/>
|
<link rel="icon" href="{{ asset('assets/angel.svg') }}"/>
|
||||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/theme' ~ themeId ~ '.css') }}"/>
|
<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') -%}
|
{% if page() in ['news', 'meetings'] and is_user() and has_permission_to('atom') -%}
|
||||||
{% set parameters = {'key': user.api_key} -%}
|
{% set parameters = {'key': user.api_key} -%}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Maintenance - %APP_NAME%</title>
|
<title>Maintenance - %APP_NAME%</title>
|
||||||
<link rel="stylesheet" type="text/css" href="%ASSETS_PATH%/assets/theme0.css"/>
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="navbar navbar-light bg-light fixed-top">
|
<div class="navbar navbar-light bg-light fixed-top">
|
||||||
|
|
Loading…
Reference in New Issue