1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 12:24:19 +01:00

Fix santization of marks.

This commit is contained in:
Doug Kearns
2016-02-11 18:36:14 +11:00
parent a85c6a35c2
commit cf68a38739

View File

@@ -401,8 +401,8 @@ var Marks = Module("marks", {
}
function match(marks) {
return Array.from(marks)
.filter(([name, mark]) => (timespan.contains(marktimestamp) &&
matchhost(marklocation)))
.filter(([name, mark]) => (timespan.contains(mark.timestamp) &&
matchhost(mark.location)))
.map(([name]) => name);
}