fix bug, can't jump to document view.

fix bug, which cause the web page can't jump to document view.