mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
webclipper: handle default case in listener (#7058)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ const authors = readFileSync("AUTHORS", "utf-8");
|
|||||||
const isAuthor = authors.includes(`<${authorEmail}>`);
|
const isAuthor = authors.includes(`<${authorEmail}>`);
|
||||||
|
|
||||||
const SCOPES = [
|
const SCOPES = [
|
||||||
// for full list of scopes + details see: https://github.com/streetwriters/notesnook-private/blob/master/CONTRIBUTING.md#commit-guidelines
|
// for full list of scopes + details see: https://github.com/streetwriters/notesnook/blob/master/CONTRIBUTING.md#commit-guidelines
|
||||||
|
|
||||||
"mobile",
|
"mobile",
|
||||||
"web",
|
"web",
|
||||||
@@ -36,7 +36,8 @@ const SCOPES = [
|
|||||||
"global",
|
"global",
|
||||||
"docs",
|
"docs",
|
||||||
"themebuilder",
|
"themebuilder",
|
||||||
"intl"
|
"intl",
|
||||||
|
"webclipper"
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ function attachMessagePort() {
|
|||||||
height: document.body.clientHeight,
|
height: document.body.clientHeight,
|
||||||
width: document.body.clientWidth
|
width: document.body.clientWidth
|
||||||
};
|
};
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user