Commit ebf915f4 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

sql_browser: adust for monaco 0.34.1 / firefox 68

automaticLayout can not be used with firefox 68 (the browser from test
nodes) because it lacks support for ResizeObserver
parent ad35f46b
......@@ -102,7 +102,7 @@
editor = monaco_editor = monaco.editor.create(
document.querySelector('#query'),
{
automaticLayout: true,
automaticLayout: window.ResizeObserver ? true : false,
autoIndent: true
}
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment