From 826d51527c20fc53c449c5eeea40a34e8ee96a0d Mon Sep 17 00:00:00 2001 From: snaka Date: Sun, 26 Jun 2011 19:19:27 +0900 Subject: Firefox4 で動かないので修正 --- ego_counter.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ego_counter.js') 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: -- cgit v1.2.3