Browse Source

fix name error

pull/557/head
Joe Germuska 11 years ago
parent
commit
e3005de8e6
  1. 2
      source/js/Core/Media/VMM.ExternalAPI.js

2
source/js/Core/Media/VMM.ExternalAPI.js

@ -1234,7 +1234,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
getInstagramIdFromUrl: function(url) {
try {
return d.split("\/p\/")[1].split("/")[0];
return url.split("\/p\/")[1].split("/")[0];
} catch(e) {
trace("Invalid Instagram url: " + url);
return null;

Loading…
Cancel
Save