mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
ace: Fix EMBEDDED check
This commit is contained in:
parent
50929fe7f7
commit
8ae8710a14
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ const Ace2Editor = function () {
|
||||||
|
|
||||||
pushStyleTagsFor(iframeHTML, includedCSS);
|
pushStyleTagsFor(iframeHTML, includedCSS);
|
||||||
|
|
||||||
if (!Ace2Editor.EMBEDED && Ace2Editor.EMBEDED[KERNEL_SOURCE]) {
|
if (!Ace2Editor.EMBEDED || !Ace2Editor.EMBEDED[KERNEL_SOURCE]) {
|
||||||
// Remotely src'd script tag will not work in IE; it must be embedded, so
|
// Remotely src'd script tag will not work in IE; it must be embedded, so
|
||||||
// throw an error if it is not.
|
// throw an error if it is not.
|
||||||
throw new Error('Require kernel could not be found.');
|
throw new Error('Require kernel could not be found.');
|
||||||
|
|
Loading…
Reference in a new issue