From 4530aea0e2d9984e392a0efe31a947826cc52b94 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 26 Sep 2010 08:52:29 -0400 Subject: [PATCH] Remove some silly old cruft. --- common/content/commandline.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/common/content/commandline.js b/common/content/commandline.js index 722afd74..aa894c82 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -764,14 +764,7 @@ const CommandLine = Module("commandline", { if (event.type == "click" && event.target instanceof HTMLAnchorElement) { function openLink(where) { event.preventDefault(); - // FIXME: Why is this needed? --djk - // : It seems to be a hack so that AnchorElements - // don't need their URLs in their @href and their - // text content. I'd rather be rid of it. --Kris - if (event.target.getAttribute("href") == "#") - dactyl.open(event.target.textContent, where); - else - dactyl.open(event.target.href, where); + dactyl.open(event.target.href, where); } switch (key) {