mirror of https://github.com/calzoneman/sync.git
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…
Reference in New Issue