diff --git a/lib/onerror_page.mustache b/lib/onerror_page.mustache index cd520b9..cf636f8 100644 --- a/lib/onerror_page.mustache +++ b/lib/onerror_page.mustache @@ -707,6 +707,13 @@ Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(as|a $$('.frame-row.native-frame').forEach(function(node) { node.classList.remove('force-show'); }); + var activeFrame = $('.frame-row.active'); + if (activeFrame.classList.contains('native-frame')) { + activeFrame.classList.remove('active'); + var firstFrame = $$('.frame-row')[0]; + firstFrame.classList.add('active'); + showFrameContext(firstFrame); + } } } function displayFirstView () { @@ -751,4 +758,4 @@ Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(as|a - \ No newline at end of file +