1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 23:32:26 +01:00

Fix :marks.

Closes #13.
This commit is contained in:
Doug Kearns
2015-04-25 23:43:10 +10:00
parent 9a076fda0f
commit cd48d1b90b

View File

@@ -30,7 +30,8 @@ var Marks = Module("marks", {
*/ */
get all() iter(this._localMarks.get(this.localURI) || {}, get all() iter(this._localMarks.get(this.localURI) || {},
this._urlMarks this._urlMarks
).sort((a, b) => String.localeCompare(a[0], b[0])), ).sort((a, b) => String.localeCompare(a[0], b[0]))
.toArray(),
get localURI() buffer.focusedFrame.document.documentURI.replace(/#.*/, ""), get localURI() buffer.focusedFrame.document.documentURI.replace(/#.*/, ""),