Skip to content

Commit df0c0e5

Browse files
committed
Added isDocs before html
1 parent db86942 commit df0c0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export default class Html extends React.Component {
2525
</head>
2626
<body className={classnames({'body--docs':isDocs})}>
2727
<div id="react-mount" dangerouslySetInnerHTML={{__html: this.props.body}} />
28-
<script src={prefixLink("/bundle.js")}/>
2928
{isDocs?<script dangerouslySetInnerHTML={{__html: `window.isDocs = true;`}} />:null}
29+
<script src={prefixLink("/bundle.js")}/>
3030
{isDocs?<div id="docs" dangerouslySetInnerHTML={{__html: docsTemplate.body}} />:null}
3131
{config.ga?<script dangerouslySetInnerHTML={{__html: `
3232
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

0 commit comments

Comments
 (0)