misplaced comment
authorSylvester Johansson <scj@archlinux.us>
Wed, 27 May 2009 23:42:32 +0000 (01:42 +0200)
committerSylvester Johansson <scj@archlinux.us>
Wed, 27 May 2009 23:42:32 +0000 (01:42 +0200)
examples/scripts/linkfollow.js

index 5dbbd5b..472f85d 100644 (file)
@@ -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";