Skip to content

Commit

Permalink
correctly avoid the 'outer' and 'center' panes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgee committed Jan 10, 2017
1 parent dadb62a commit 0949c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/js/viewer/_WidgetsMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ define([
}

for (var pane in this.panes) {
if (this.panes.hasOwnProperty(pane) && (pane !== 'outer' || pane !== 'center')) {
if (this.panes.hasOwnProperty(pane) && pane !== 'outer' && pane !== 'center') {
paneWidgets = getPaneWidgets(pane);
paneWidgets.sort(function (a, b) {
return a.position - b.position;
Expand Down

0 comments on commit 0949c40

Please sign in to comment.