diff options
author | masa138 | 2009-10-08 20:36:12 +0000 |
---|---|---|
committer | masa138 | 2009-10-08 20:36:12 +0000 |
commit | fb52e70354609798301c9256c2ee727577875b98 (patch) | |
tree | ee67f1cd9490b6859a4fd69266410057cf8a5230 /account_switcher.js | |
parent | 9614dd90e8ca6bb414f1c72a173db6c52f768d06 (diff) | |
download | vimperator-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.js | 1 |
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); |