From e02c0d000a0a794fedd478906e9978d9325e8c7e Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 22 Oct 2018 22:31:50 +0200 Subject: [PATCH] Make IE 11 happy (#5499) https://sentry.io/share/issue/3bc66ffadcad46a9aae703d5eba1e342/ ![capture d ecran 2018-10-22 a 12 04 16](https://user-images.githubusercontent.com/3165635/47287491-b1683a80-d5f2-11e8-8c3f-e409340b880f.png) --- packages/next/pages/_document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/pages/_document.js b/packages/next/pages/_document.js index 52ab4dc0..822656bf 100644 --- a/packages/next/pages/_document.js +++ b/packages/next/pages/_document.js @@ -187,7 +187,7 @@ export class NextScript extends Component { static getInlineScriptSource (documentProps) { const { __NEXT_DATA__ } = documentProps const { page } = __NEXT_DATA__ - return `__NEXT_DATA__ = ${htmlescape(__NEXT_DATA__)};__NEXT_LOADED_PAGES__=[];__NEXT_REGISTER_PAGE=function(r,f){__NEXT_LOADED_PAGES__.push([r, f])}` + return `__NEXT_DATA__ = ${htmlescape(__NEXT_DATA__)};__NEXT_LOADED_PAGES__=[];__NEXT_REGISTER_PAGE=function(r,f){__NEXT_LOADED_PAGES__.push([r, f])};` } render () {