forked from andyburke/autonomous.contact
fix: fix an issue with topic parsing?
This commit is contained in:
parent
83689f2ebd
commit
4c1fa98418
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const HASH_EXTRACTOR = /^\#\/topic\/(?<topic_id>[A-Za-z\-]+)\/?(?<view>\w+)/gm;
|
const HASH_EXTRACTOR = /^\#\/topic\/(?<topic_id>[A-Za-z\-]+)\/?(?<view>\w+)?/gm;
|
||||||
|
|
||||||
function extract_url_hash_info() {
|
function extract_url_hash_info() {
|
||||||
HASH_EXTRACTOR.lastIndex = 0; // ugh, need this to have this work on multiple exec calls
|
HASH_EXTRACTOR.lastIndex = 0; // ugh, need this to have this work on multiple exec calls
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue