mirror of https://github.com/calzoneman/sync.git
Make doubly sure fixed calzoneman/sync#445
This commit is contained in:
parent
a636082500
commit
ca17c82c8c
|
@ -418,7 +418,7 @@ var Getters = {
|
||||||
dm: function (id, callback) {
|
dm: function (id, callback) {
|
||||||
var m = id.match(/([\w-]+)/);
|
var m = id.match(/([\w-]+)/);
|
||||||
if (m) {
|
if (m) {
|
||||||
id = m[1];
|
id = m[1].split("_")[0];
|
||||||
} else {
|
} else {
|
||||||
callback("Invalid ID", null);
|
callback("Invalid ID", null);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue