Skip to content

Commit

Permalink
Fixed bug that was throwing a length error. Resolves #34.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanHavoc committed Jul 27, 2016
1 parent 9ea5c60 commit ca6caa3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _template/app/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ new Vue({
var _this = this,
hash = location.hash;

if(_this.content !== null && _this.content.pages.length) {
if(_this.content.page !== undefined && _this.content.pages.length) {

if(hash) {
for (var i = 0; i < _this.content.pages.length; i++) {
Expand Down
Loading

0 comments on commit ca6caa3

Please sign in to comment.