doc/js/app.js in brauser-3.2.2 vs doc/js/app.js in brauser-3.2.3

- old
+ new

@@ -76,11 +76,16 @@ function framesInit() { if (hasFrames) { document.body.className = 'frames'; $('#menu .noframes a').attr('href', document.location); - window.top.document.title = $('html head title').text(); + try { + window.top.document.title = $('html head title').text(); + } catch(error) { + // some browsers will not allow this when serving from file:// + // but we don't want to stop the world. + } } else { $('#menu .noframes a').text('frames').attr('href', framesUrl); } } @@ -209,6 +214,6 @@ $(searchFrameLinks); $(linkSummaries); $(keyboardShortcuts); $(summaryToggle); $(fixOutsideWorldLinks); -$(generateTOC); \ No newline at end of file +$(generateTOC);