Show custom title UI for fi: override (#523)
This commit is contained in:
parent
6f654b16b8
commit
176d4cb06f
2 changed files with 9 additions and 1 deletions
|
|
@ -1336,6 +1336,13 @@ function parseMediaLink(url) {
|
|||
type: "dm"
|
||||
};
|
||||
}
|
||||
// Raw files need to keep the query string
|
||||
if ((m = url.match(/^fi:(.*)/))) {
|
||||
return {
|
||||
id: m[1],
|
||||
type: "fi"
|
||||
};
|
||||
}
|
||||
// Generic for the rest.
|
||||
if ((m = url.match(/^([a-z]{2}):([^\?&#]+)/))) {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue