Fixing log
to reference the correct data attribute.
This commit is contained in:
parent
51facfac11
commit
c9ee345f5b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
for(var i=0; i<scripts.length; i++) {
|
||||
script = scripts[i];
|
||||
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");
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue