aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Sylvester Johansson <scj@archlinux.us>2009-05-28 01:42:32 +0200
committerGravatar Sylvester Johansson <scj@archlinux.us>2009-05-28 01:42:32 +0200
commit53464e2affa6635e32f0fd55ddb3ad5d5ef124ef (patch)
tree3e272e0b0bedbaea9d560997c62624206caa05ff /examples
parentfb7ad5e02d3fed551302f1113b7ec8cd5cc1a30c (diff)
misplaced comment
Diffstat (limited to 'examples')
-rw-r--r--examples/scripts/linkfollow.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/scripts/linkfollow.js b/examples/scripts/linkfollow.js
index 5dbbd5b..472f85d 100644
--- a/examples/scripts/linkfollow.js
+++ b/examples/scripts/linkfollow.js
@@ -183,7 +183,6 @@ function Hints(){
}
this.openInNewWindow = function(item){
// TODO: this doesn't work
- simulateMouseOver(item);
window.open(item.href,"uzbl new","");
}
this.openInThisWindow = function(item){
@@ -217,6 +216,8 @@ function Hints(){
var item = items[0].node;
}
if (item) {
+ // This causes some elements to move around. Guess it should only be applied to
+ // links
item.style.margin -= 3;
item.style.padding -= 3;
item.style.borderStyle = "dotted";