placeSVG pays attention to the viewbox attribute now.

This commit is contained in:
Teja 2015-03-28 16:59:38 +01:00
parent 57f06315aa
commit 94c065fd08

View file

@ -367,6 +367,7 @@ $(function(){
self._getSVGserveUrl = function(file){
if (file && file["refs"] && file["refs"]["download"]) {
var url = file.refs.download.replace("downloads", "serve");
console.log(url);
return url;
}