diff --git a/app.js b/app.js index 285c1169..f2634561 100644 --- a/app.js +++ b/app.js @@ -133,6 +133,7 @@ $(function() { // Replace image with new SVG $img.replaceWith($svg); + $('.keyboard-slider').height($svg.height()); // Quick fix as jQuery 2.1.4 addClass() method is not working on SVG elements. var finalClasses = $svg.attr('class');