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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user