aboutsummaryrefslogtreecommitdiff
path: root/src/background/repositories/mark.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/repositories/mark.js')
-rw-r--r--src/background/repositories/mark.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/repositories/mark.js b/src/background/repositories/mark.js
index a1f6a16..339a660 100644
--- a/src/background/repositories/mark.js
+++ b/src/background/repositories/mark.js
@@ -14,13 +14,13 @@ export default class MarkRepository {
if (!data) {
return Promise.resolve(undefined);
}
- let mark = new GlobalMark(data.tabId, data.x, data.y);
+ let mark = new GlobalMark(data.tabId, data.url, data.x, data.y);
return Promise.resolve(mark);
}
setMark(key, mark) {
let marks = this.getOrEmptyMarks();
- marks[key] = { tabId: mark.tabId, x: mark.x, y: mark.y };
+ marks[key] = { tabId: mark.tabId, url: mark.url, x: mark.x, y: mark.y };
this.cache.set(MARK_KEY, marks);
return Promise.resolve();