update settings.js for screen name as title text
This commit is contained in:
parent
32fa0b055d
commit
8e0b4784af
|
@ -129,6 +129,7 @@
|
||||||
document.querySelector('#post-count').textContent = viewer.post_count;
|
document.querySelector('#post-count').textContent = viewer.post_count;
|
||||||
document.querySelector('#eligible-estimate').textContent = viewer.eligible_for_delete_estimate;
|
document.querySelector('#eligible-estimate').textContent = viewer.eligible_for_delete_estimate;
|
||||||
document.querySelector('#display-name').textContent = viewer.display_name || viewer.screen_name;
|
document.querySelector('#display-name').textContent = viewer.display_name || viewer.screen_name;
|
||||||
|
document.querySelector('#display-name').title = '@' + viewer.display_name;
|
||||||
document.querySelector('#avatar').src = viewer.avatar_url;
|
document.querySelector('#avatar').src = viewer.avatar_url;
|
||||||
viewer_update_interval = 1000;
|
viewer_update_interval = 1000;
|
||||||
last_viewer = viewer;
|
last_viewer = viewer;
|
||||||
|
|
Loading…
Reference in New Issue