Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
observerChildren after initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Aug 27, 2013
1 parent 6f3e3a0 commit 0f85055
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions elements/g-panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@
defaultTransition: 'keyframe',
_canTransition: false,
created: function() {
//this.initPanels();
this.observeChildren();
if (!this.hasAttribute('tabindex')) {
this.tabIndex = -1;
}
Expand All @@ -129,7 +127,7 @@
this.indexChanged();
}
this.enableTransitions(true);

this.observeChildren();
},
initPanels: function() {
this.getPanels().forEach(function(p, i) {
Expand Down

0 comments on commit 0f85055

Please sign in to comment.