input => span

This commit is contained in:
zandercymatics 2024-08-14 12:30:53 -06:00
parent 2c4c9ddbce
commit 67cd3684d7
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 4 additions and 4 deletions

View file

@ -1189,7 +1189,7 @@ document.addEventListener('DOMContentLoaded', function() {
return;
}
let baseUrlValue = baseUrl.value;
let baseUrlValue = baseUrl.innerHTML;
if (!baseUrlValue) {
return;
}
@ -1540,7 +1540,7 @@ document.addEventListener('DOMContentLoaded', function() {
return;
}
let baseUrlValue = baseUrl.value;
let baseUrlValue = baseUrl.innerHTML;
if (!baseUrlValue) {
return;
}

View file

@ -2,7 +2,7 @@
{% comment %} Stores the json endpoint in a url for easier access {% endcomment %}
{% url 'get_domain_requests_json' as url %}
<input id="get_domain_requests_json_url" class="display-none" value="{{url}}" />
<span id="get_domain_requests_json_url" class="display-none">{{url}}</span>
<section class="section--outlined domain-requests" id="domain-requests">
<div class="grid-row">
{% if not has_domain_requests_portfolio_permission %}

View file

@ -4,7 +4,7 @@
{% comment %} Stores the json endpoint in a url for easier access {% endcomment %}
{% url 'get_domains_json' as url %}
<input id="get_domains_json_url" class="display-none" value="{{url}}" />
<span id="get_domains_json_url" class="display-none">{{url}}</span>
<section class="section--outlined domains{% if not has_domains_portfolio_permission %} margin-top-0{% endif %}" id="domains">
<div class="section--outlined__header margin-bottom-3 {% if not has_domains_portfolio_permission %} section--outlined__header--no-portfolio justify-content-space-between{% else %} grid-row{% endif %}">
{% if not has_domains_portfolio_permission %}