aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnaka2011-06-26 19:19:27 +0900
committersnaka2011-06-26 19:25:27 +0900
commit826d51527c20fc53c449c5eeea40a34e8ee96a0d (patch)
tree67ae70b4cd5c600790b182f5a1b4b7d6a43f8efe
parentd4e2c5327d707808086d3c1f020e884972698b21 (diff)
downloadvimperator-plugins-826d51527c20fc53c449c5eeea40a34e8ee96a0d.tar.bz2
Firefox4 で動かないので修正
-rw-r--r--ego_counter.js9
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: