Commit 4151219d authored by asseldonk's avatar asseldonk
Browse files

filebrowser: revert parts of previous commit, selection.js produces errors

parent 2f423879
...@@ -89,7 +89,7 @@ var FileBaseSelections = Class.extend({ ...@@ -89,7 +89,7 @@ var FileBaseSelections = Class.extend({
var offsetSelected = null; var offsetSelected = null;
var y = 0; var y = 0;
var lastSelectedNode = this.lastSelectedNode; var lastSelectedNode = this.lastSelectedNode;
var contentContainer = $(".file-node", this.FileBase.view.fileContentContainer); var contentContainer = $(".file-view-content-container", this.FileBase.view.fileContentContainer);
var offsetMain = this.FileBase.view.fileContentContainer.offset().top; var offsetMain = this.FileBase.view.fileContentContainer.offset().top;
if (lastSelectedNode === null || number === 0) { if (lastSelectedNode === null || number === 0) {
selectNode = contentContainer.children().first(); selectNode = contentContainer.children().first();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment