fix(api): missing dd logo link

darta 2022-01-24 17:54:26 +00:00
parent 46b5d1c8b2
commit 20ffd223c9
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,7 @@
</div>
<div id="dd-logo">
<a href="https://xnet-x.net/ca/digital-democratic/" target="_blank">
<img src="http://localhost:80/img/dd.svg" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px">
<img src="" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px">
</a>
</div>
</div>
@ -300,6 +300,7 @@
{% block pagescript %}
<script>
$('#dd-logo img').attr('src', "https://api."+document.domain.split(/\.(.+)/)[1]+"/img/dd.svg");
function openMenu(){
if ($('#menu-apps-btn').hasClass("open")) {
console.log('open')