Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix to embed.js.

  • Loading branch information...
commit 2197befdae776ccb6c87a5d474e77077e55292e2 1 parent 6f6da84
@tburry tburry authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  js/embed.js
View
2  js/embed.js
@@ -43,6 +43,8 @@ window.vanilla.embed = function(host) {
host_base_url = scripts[i].src;
host_base_url = host_base_url.substr(0, host_base_url.indexOf(jsPath));
+ if (host_base_url.substring(host_base_url.length-1) != '/')
+ host_base_url += '/';
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.