aboutsummaryrefslogtreecommitdiff
path: root/src/background/domains
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/domains')
-rw-r--r--src/background/domains/global-mark.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/background/domains/global-mark.js b/src/background/domains/global-mark.js
index 77afdba..f0586f1 100644
--- a/src/background/domains/global-mark.js
+++ b/src/background/domains/global-mark.js
@@ -1,6 +1,7 @@
export default class GlobalMark {
- constructor(tabId, x, y) {
+ constructor(tabId, url, x, y) {
this.tabId0 = tabId;
+ this.url0 = url;
this.x0 = x;
this.y0 = y;
}
@@ -9,6 +10,10 @@ export default class GlobalMark {
return this.tabId0;
}
+ get url() {
+ return this.url0;
+ }
+
get x() {
return this.x0;
}