From bd3b1621e9aec2414a31822e58ee1497f77ca9f8 Mon Sep 17 00:00:00 2001 From: trapezoid Date: Mon, 24 Mar 2008 12:10:17 +0000 Subject: lang/javascript/vimperator-plugins/twitterView.js: コマンドラインバーに表示位置を移動 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@8344 d0d07461-0603-4401-acd4-de1884942a52 --- twitterView.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'twitterView.js') diff --git a/twitterView.js b/twitterView.js index 5571c14..9224b42 100755 --- a/twitterView.js +++ b/twitterView.js @@ -46,11 +46,12 @@ hbox.setAttribute('id','statusbar-twitter-timeline'); //document.getElementById('status-bar').insertBefore(hbox,document.getElementById('statusbar-display')); - document.getElementById('liberator-commandline').appendChild(hbox); - document.getElementById('liberator-commandline').addEventListener("focus",function(e){ + //document.getElementById('liberator-commandline').appendChild(hbox); + document.getElementById('liberator-commandline').insertBefore(hbox,document.getElementById('liberator-commandline-command')); + document.getElementById('liberator-commandline-command').addEventListener("focus",function(e){ hbox.hidden = true; },true); - document.getElementById('liberator-commandline').addEventListener("blur",function(e){ + document.getElementById('liberator-commandline-command').addEventListener("blur",function(e){ hbox.hidden = false; },true); -- cgit v1.2.3