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

Fix the language support. #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix the language support. #41

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 2, 2017

See GitbookIO/gitbook#1525

window.location.pathname is encoded, but resolvedRef is not.
For example,

So It will throw a error.

Uncaught TypeError: Cannot read property 'split' of undefined
at u (theme.js:4)
at s (theme.js:4)
at HTMLDivElement.l (theme.js:4)
at HTMLDivElement.dispatch (theme.js:2)
at HTMLDivElement.m.handle (theme.js:2)

@ghost ghost changed the title Fix a bug. Fix the language support. Feb 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants