Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoda committed Oct 17, 2014
1 parent 04854ce commit 0b46f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/spa.js
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@

// 如果当前页面是面板,则先收起之前的面板,再打开新面板
if($curPage.hasClass('spa-panel')) {
var $prevPage = viewsdata($curPage.data('id')).prevPage
var $prevPage = viewsdata[$curPage.data('id')].prevPage

$prevPage.trigger('spa:openpage', [function() {
$doc.trigger('spa:openpanel', [id, pushData])
Expand Down
Loading

0 comments on commit 0b46f4f

Please sign in to comment.