Skip to content

Commit

Permalink
call createPanes when mapDeferred resolves
Browse files Browse the repository at this point in the history
  • Loading branch information
green3g committed Feb 1, 2017
1 parent f3cf778 commit 5c6b537
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions viewer/js/viewer/_LayoutMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ define([
this.addTitles();
this.detectTouchDevices();
this.initPanes();

this.mapDeferred.then(lang.hitch(this, 'createPanes'));

// resolve the layout deferred
this.layoutDeferred.resolve();
Expand Down

0 comments on commit 5c6b537

Please sign in to comment.