1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:07:59 +01:00

Update gP for new activation system. Add comment.

This commit is contained in:
Kris Maglione
2010-09-24 09:23:40 -04:00
parent 1f00a659f3
commit 3155e489aa
2 changed files with 8 additions and 4 deletions

View File

@@ -747,6 +747,9 @@ const CommandLine = Module("commandline", {
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