aboutsummaryrefslogtreecommitdiffstats
path: root/account_switcher.js
diff options
context:
space:
mode:
authormasa1382009-10-08 20:36:12 +0000
committermasa1382009-10-08 20:36:12 +0000
commitfb52e70354609798301c9256c2ee727577875b98 (patch)
treeee67f1cd9490b6859a4fd69266410057cf8a5230 /account_switcher.js
parent9614dd90e8ca6bb414f1c72a173db6c52f768d06 (diff)
downloadvimperator-plugins-fb52e70354609798301c9256c2ee727577875b98.tar.bz2
Add tooltipstext
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35555 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'account_switcher.js')
-rw-r--r--account_switcher.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/account_switcher.js b/account_switcher.js
index e523780..07c61ad 100644
--- a/account_switcher.js
+++ b/account_switcher.js
@@ -195,6 +195,7 @@ liberator.accountSwitcherOpenNewTab = 1;
var needle = '.hatena.ne.jp';
if (service.host.toLowerCase().lastIndexOf(needle) == service.host.length - needle.length) {
img.setAttribute('src', 'http://www.hatena.ne.jp/users/' + username.substr(0, 2) + '/' + username + '/profile_s.gif');
+ img.setAttribute('tooltiptext', username);
if (!document.getElementById('account_switcher_pannel')) {
if (afterSLine != null) {
statusBar.insertBefore(sbPannel, afterSLine);