Skip to content

Commit

Permalink
Readd sidepanel check in Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDM committed Nov 25, 2014
1 parent 25a858a commit fb0f733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/arethusa.core/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ angular.module('arethusa.core').factory('Tree', [
// as main layout.
var canvas = element.parents('.tree-canvas');
function checkBorderStyle() {
if (isPartOfGrid()) {
if (isPartOfGrid() || isPartOfSidepanel()) {
canvas.addClass('no-border');
} else {
canvas.removeClass('no-border');
Expand Down

0 comments on commit fb0f733

Please sign in to comment.