Mercurial > addons > firefox-addons > feed-preview
changeset 65:106d78e26d3c
Allow placeholder in the fragment identifier
author | Guido Berhoerster <guido+feed-preview@berhoerster.name> |
---|---|
date | Sat, 17 Apr 2021 23:45:30 +0200 |
parents | 46c0595f2dcc |
children | 744652abc028 |
files | options/options.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/options/options.js Sat Apr 17 23:07:57 2021 +0200 +++ b/options/options.js Sat Apr 17 23:45:30 2021 +0200 @@ -94,7 +94,7 @@ return browser.i18n.getMessage('invalidProtocolError'); } - if (!(url.pathname.includes('%s') || url.search.includes('%s'))) { + if (!(url.pathname.includes('%s') || url.search.includes('%s') || url.hash.includes('%s'))) { return browser.i18n.getMessage('missingPlaceholderError'); }