Mercurial > xmpp-account-manager
comparison client.js @ 10:e47b9bd55192
Also use a spinner on nickname get/set.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 22 Dec 2018 16:13:01 +0100 |
parents | cd0434bb2eb1 |
children | 139b223dafb0 |
comparison
equal
deleted
inserted
replaced
9:b994c6c19f5c | 10:e47b9bd55192 |
---|---|
4 let connection = null; | 4 let connection = null; |
5 | 5 |
6 const jid_element = document.getElementById('jid'); | 6 const jid_element = document.getElementById('jid'); |
7 const pass_element = document.getElementById('pass'); | 7 const pass_element = document.getElementById('pass'); |
8 const connect_button = document.getElementById('connect'); | 8 const connect_button = document.getElementById('connect'); |
9 const spinner_img = document.getElementById('spinner'); | 9 const spinner_img = document.getElementById('connect-spinner'); |
10 | 10 |
11 const connected_div = document.getElementById('connected'); | 11 const connected_div = document.getElementById('connected'); |
12 | 12 |
13 const avatar_img = document.getElementById('avatar'); | 13 const avatar_img = document.getElementById('avatar'); |
14 | 14 |