Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

Commit

Permalink
closes #533 - Material navbar not initialized properly
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptPilot authored and scriptPilot committed May 16, 2017
1 parent 0f1fffd commit 19582c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<br />

## Next version

### Bug-fixes

- [x] [#533 - Material navbar not initialized properly](https://github.com/scriptPilot/app-framework/issues/533)

## Version 1.6.0

Released on 2017-05-16
Expand Down
2 changes: 1 addition & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ function initF7VueApp () {
// Load Framework7-Vue (with workaround for theme integration)
let config = require(process.env.APP_ROOT_FROM_SCRIPTS + 'config.json')
let theme = (/^(ios|material)$/.test(window.localStorage.theme) && config.theme.split('-').indexOf(window.localStorage.theme) >= 0)
? window.localStorage.theme : config.theme
? window.localStorage.theme : config.theme.split('-')[0]
vue.use(require('../vendor/framework7-vue/framework7-vue.js'), {theme: theme})
// Load app component
let appComponent = require(process.env.APP_ROOT_FROM_SCRIPTS + 'app.vue')
Expand Down

0 comments on commit 19582c5

Please sign in to comment.