diff options
Diffstat (limited to 'ego_counter.js')
-rw-r--r-- | ego_counter.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ego_counter.js b/ego_counter.js index 77c8f36..66a3e03 100644 --- a/ego_counter.js +++ b/ego_counter.js @@ -33,10 +33,9 @@ }; })(); - let myHatebu = document.getElementById('status-bar') - .insertBefore(document.createElement('statusbarpanel'), - document.getElementById('security-button') - .nextSibling); + let myHatebu = document.getElementById('status-bar').appendChild( + document.createElement('statusbarpanel') + ); myHatebu.setAttribute('id', 'my-hatebu-count-icon'); myHatebu.setAttribute('class', 'statusbarpanel-iconic'); update(rotate(true)); @@ -47,3 +46,5 @@ }, false); })() + +// vim: sw=2 ts=2 et: |