Permalink
Browse files

Fix to embed.js.

  • Loading branch information...
1 parent 6f6da84 commit 2197befdae776ccb6c87a5d474e77077e55292e2 @tburry tburry committed Dec 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/embed.js
View
@@ -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 += '/';
}
}

0 comments on commit 2197bef

Please sign in to comment.