Skip to content

Commit

Permalink
Embed script should have no specified protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Ire Aderinokun committed May 16, 2016
1 parent ba1025f commit 1fcdc22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion caniuse-embed.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion development/caniuse-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

if (feature) {

var url = 'http://caniuse.bitsofco.de/embed/index.html';
var url = '//caniuse.bitsofco.de/embed/index.html';
//var url = 'http://localhost:8000/embed/index.html'

var iframe = '<iframe src="'+url+'?feat='+feature+'&periods='+periods+'" frameborder="0" width="100%" height="400px"></iframe>';
Expand Down
2 changes: 1 addition & 1 deletion embed/script.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1fcdc22

Please sign in to comment.