Skip to content
Permalink
Browse files

add missed event on browse button

  • Loading branch information...
lautr3k committed Mar 21, 2016
1 parent 4bb9e13 commit b9f3e8ca0223728d9e40f2e92131a397437ed64c
Showing with 6 additions and 1 deletion.
  1. +6 −1 js/main.js
@@ -304,7 +304,12 @@ function parseUnit(value, unit) {
}

// File panel
var $fileBody = initPanel('file');
var $fileBody = initPanel('file');
var $fileInput = $fileBody.find('#file-input');

$fileInput.on('change', function(e) {
loader.loadFile(e.target.files[0]);
});

// Mesh panel
var $meshBody = initPanel('mesh');

0 comments on commit b9f3e8c

Please sign in to comment.
You can’t perform that action at this time.