1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-24 12:43:36 +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) { function match(marks) {
return Array.from(marks) return Array.from(marks)
.filter(([name, mark]) => (timespan.contains(marktimestamp) && .filter(([name, mark]) => (timespan.contains(mark.timestamp) &&
matchhost(marklocation))) matchhost(mark.location)))
.map(([name]) => name); .map(([name]) => name);
} }