Commit 49a0cb12 by Dányi Bence

webui: bind after document loaded

parent c49a6319
...@@ -472,7 +472,9 @@ var cloud = (function(cloud) { ...@@ -472,7 +472,9 @@ var cloud = (function(cloud) {
loadFolder(self.currentPath()); loadFolder(self.currentPath());
} }
var model = new Model(); var model = new Model();
$(function(){
ko.applyBindings(model); ko.applyBindings(model);
});
document.addEventListener('dragenter', function(e) { document.addEventListener('dragenter', function(e) {
e.stopPropagation(); e.stopPropagation();
e.preventDefault(); e.preventDefault();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment