mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Resolve missing closing parenthesis or the generic matcher.
This commit is contained in:
parent
5c6a966e6f
commit
9a1baf64b6
@ -1331,7 +1331,7 @@ function parseMediaLink(url) {
|
||||
};
|
||||
}
|
||||
// Generic for the rest.
|
||||
if ((m = url.match(/([a-z]{2}):([^\?&#]+)/)) {
|
||||
if ((m = url.match(/([a-z]{2}):([^\?&#]+)/))) {
|
||||
return {
|
||||
id: m[2],
|
||||
type: m[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user