Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix running tree comparison on Chrome #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

danieledler
Copy link

Chrome blocked scripts loaded over http when served over https

The tree comparison calculation on https://phylo.io fails for me when loaded on Chrome because of this:

Mixed Content: The page at 'https://phylo.io/#' was loaded over HTTPS, but requested an insecure script 'http://peterolson.github.io/BigInteger.js/BigInteger.min.js'. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at 'https://phylo.io/#' was loaded over HTTPS, but requested an insecure script 'http://underscorejs.org/underscore-min.js'. This request has been blocked; the content must be served over HTTPS.

treecompare.js:4733 Uncaught ReferenceError: _ is not defined
    at getElementS (treecompare.js:4733)
    at BCN (treecompare.js:4675)
    at getAllBCNs (treecompare.js:4465)
    at getAllBCNs (treecompare.js:4457)
    at getAllBCNs (treecompare.js:4457)
    at getAllBCNs (treecompare.js:4457)
    at getVisibleBCNs (treecompare.js:4470)
    at preprocessTrees (treecompare.js:4610)
    at treecompare.js:4799

Fixes #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree comparison fails on Chrome because of mixed http/https content
2 participants