mirror of https://github.com/calzoneman/sync.git
Merge pull request #448 from Xaekai/3.0
Resolve missing closing parenthesis or the generic matcher.
This commit is contained in:
commit
bed10ec8a9
|
@ -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