Skip to content

Commit

Permalink
Merge pull request #11 from pasu777/patch-1
Browse files Browse the repository at this point in the history
Update spa.js
  • Loading branch information
zhaoda committed Oct 17, 2014
2 parents 06ce740 + 8ec06f0 commit 04854ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spa.js
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,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

0 comments on commit 04854ce

Please sign in to comment.