Skip to content

Commit

Permalink
reverse history
Browse files Browse the repository at this point in the history
  • Loading branch information
qazbnm456 committed Apr 3, 2017
1 parent fc87daa commit a670dfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/renderer/js/constants/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ export default {
lulumiPagesPath: `${lulumiAppPath}/pages/`,
lulumiPDFJSPath: `${lulumiAppPath}/pdfjs/`,
lulumiAppPath,
lulumiRev: '514f0662e7f43a581f62fb68efa935f087f67284',
lulumiRev: 'fc87daa291fae31f9eef2bd26cc6f2c33df5d557',
};
4 changes: 2 additions & 2 deletions app/src/renderer/vuex/modules/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const mutations = {
if (state.history[state.history.length - 1].url
!== state.pages[payload.pageIndex].location) {
const date = timeUtil.getLocaleCurrentTime();
state.history.push({
state.history.unshift({
title: state.pages[payload.pageIndex].title,
url: state.pages[payload.pageIndex].location,
favicon: state.pages[payload.pageIndex].favicon,
Expand All @@ -141,7 +141,7 @@ const mutations = {
}
} else {
const date = timeUtil.getLocaleCurrentTime();
state.history.push({
state.history.unshift({
title: state.pages[payload.pageIndex].title,
url: state.pages[payload.pageIndex].location,
favicon: state.pages[payload.pageIndex].favicon,
Expand Down

0 comments on commit a670dfa

Please sign in to comment.