Skip to content

Commit 24142e7

Browse files
committed
Hash part on URL check removed (wallabag issue #3157)
1 parent 6ca14ea commit 24142e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

wallabagger/js/background.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,9 @@ function savePageToWallabag (url, resetIcon) {
456456

457457
const GotoWallabag = (part) => api.checkParams() && browser.tabs.create({ url: `${api.data.Url}/${part}/list` });
458458

459-
const checkExist = (url) => {
460-
if (isServicePage(url)) { return; }
459+
const checkExist = (dirtyUrl) => {
460+
if (isServicePage(dirtyUrl)) { return; }
461+
const url = dirtyUrl.split('#')[0];
461462
if (existCache.check(url)) {
462463
const existsFlag = existCache.get(url);
463464
if (existsFlag === existStates.exists) {

0 commit comments

Comments
 (0)