Merge pull request 'test center' (#25) from LibreHacker/switching:master3 into master

Reviewed-on: http://git.macaw.me:3000/Tolstoevsky/fedi/pulls/25
This commit is contained in:
Tolstoevsky 2021-01-10 18:08:02 +00:00
commit b9568c42e6
2 changed files with 5 additions and 5 deletions

View file

@ -17,12 +17,12 @@
<div class="qrcode" id="qrcode"></div> <div class="qrcode" id="qrcode"></div>
<p class="hint text-center" id="clients"></p> <p class="hint text-center" id="clients"></p>
<p class="lead" id="recommend"></p> <p class="lead text-center" id="recommend"></p>
<ul class="lead" id="client_list"></ul> <p class="lead text-center" id="client_list"></p>
<p class="lead" id="checkfulllist"></p> <p class="lead text-center" id="checkfulllist"></p>
<p class="hint" id="xmppis"></p> <p class="hint text-center" id="xmppis"></p>
</div> </div>
<script src="js/i18n-text.js"></script> <script src="js/i18n-text.js"></script>
<script src="js/main.js"></script> <script src="js/main.js"></script>

View file

@ -11,7 +11,7 @@
function show_clients(client_array) { function show_clients(client_array) {
var list = document.getElementById('client_list'); var list = document.getElementById('client_list');
for (var id = 0; id < client_array.length; id++) { for (var id = 0; id < client_array.length; id++) {
var item = document.createElement('li'); var item = document.createElement('p');
item.innerHTML = client_array[id]; item.innerHTML = client_array[id];
list.appendChild(item); list.appendChild(item);
} }