Fixing log to reference the correct data attribute.

This commit is contained in:
Jaisen Mathai 2014-09-30 22:59:34 -07:00
parent 51facfac11
commit c9ee345f5b

View file

@ -18,7 +18,7 @@
for(var i=0; i<scripts.length; i++) { for(var i=0; i<scripts.length; i++) {
script = scripts[i]; script = scripts[i];
if(script.src !== "undefined" && script.src.indexOf('OpenPhoto.js') !== -1) { if(script.src !== "undefined" && script.src.indexOf('OpenPhoto.js') !== -1) {
return script.getAttribute("data-site") || log("No data-host attribute on the script tag"); return script.getAttribute("data-site") || log("No data-site attribute on the script tag");
} }
} }
})(); })();