1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Fix Ember lint issues and print view

This commit is contained in:
McMatts 2019-05-31 11:48:16 +01:00
parent 40237344e2
commit 715c31a1da
15 changed files with 53 additions and 37 deletions

View file

@ -53,7 +53,7 @@ export default Component.extend(Notifier, Modal, {
didInsertElement() {
this._super(...arguments);
this.$('#restore-file').on('change', function(){
$('#restore-file').on('change', function(){
var fileName = document.getElementById("restore-file").files[0].name;
$(this).next('.custom-file-label').html(fileName);
});