1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 09:12:28 +01:00

Remove some silly old cruft.

This commit is contained in:
Kris Maglione
2010-09-26 08:52:29 -04:00
parent e694fa6297
commit 4530aea0e2

View File

@@ -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) {