Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Belluco committed May 14, 2014
1 parent 75e1641 commit f5ece45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/viewstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var ViewStack = module.exports = BackBone.View.extend({

}else{

if ( this._current.onActivate )
if ( this._current && this._current.onActivate )
this._current.onActivate();

// Calcolo il nuovo z-Index che è incrementale
Expand Down

0 comments on commit f5ece45

Please sign in to comment.