diff --git a/src/js/app.js b/src/js/app.js index 0b811d1..f9233de 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -26,7 +26,11 @@ $('footer .btn').click(function(e) { $('footer input').on('change', function () { const file = $(this)[0].files[0]; let reader = new FileReader(); - reader.onload = function(e) { $('#compass').attr('src', e.target.result); }; + reader.onload = function(e) { + $('#compass').attr('src', e.target.result); + $('#compass').css('width', '78vw'); + $('.header').hide(); + }; reader.readAsDataURL(file); });