Skip to content

Commit

Permalink
Merge pull request #87 from gnehs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
gnehs authored Oct 10, 2018
2 parents 0eb449b + 106e2a1 commit 92d792f
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 160 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pokaplayer",
"version": "0.12.4",
"version": "0.12.5",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/js/login.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 初始化網頁
$(function() {
var userPASS = window.localStorage["userPASS"]
if (userPASS) {
if (userPASS && userPASS != "false") {
mdui.snackbar({
message: '偵測到已儲存的密碼,正在嘗試登入',
timeout: 1000
Expand Down
5 changes: 3 additions & 2 deletions public/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ router
'now*': showNow,
'lrc': showLrc,
'settings': showSettings,
'settings/theme': showSettingsTheme,
'settings/pic': showSettingsPic,
'settings/network': showSettingsNetwork,
'settings/customize': showSettingsCustomize,
'settings/system': showSettingsSystem,
'settings/about': showSettingsAbout,
'*': showHome
})
Expand Down
Loading

0 comments on commit 92d792f

Please sign in to comment.