Skip to content

Commit

Permalink
fix a small issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
shd101wyy committed Jun 14, 2017
1 parent a4bd7dc commit ba3187f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown-preview-enhanced-webview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function updateHTML(html) {
// scroll to initial position
if (!mpe.doneLoadingPreview) {
mpe.doneLoadingPreview = true
scrollToRevealSourceLine(config.initialLine)
scrollToRevealSourceLine(config['initialLine'])
}
})
}
Expand Down

0 comments on commit ba3187f

Please sign in to comment.