Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
Issue #91
Browse files Browse the repository at this point in the history
  • Loading branch information
julietteculver committed Jul 9, 2012
1 parent 7f434c0 commit d87f60b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/place.js
Expand Up @@ -47,6 +47,12 @@ if (!PELAGIOS_PLACE_MAIN_JS_RUN) { // Only run this script once per page
msg += ' ' + $(this).attr('id');
});
console.log(msg);

if (typeof $('.pelagios-place') == 'undefined') {
console.log('No Pelagios widget HTML on page '
+ 'if the HTML is added via Javascript please make '
+'sure it has added before the Pelagios javascript is run');
}
}

// Find everything on the page with the right class
Expand Down

0 comments on commit d87f60b

Please sign in to comment.