Ver Fonte

Merge branch 'master' of https://github.com/unaio/una

AntonLV há 7 anos atrás
pai
commit
78401e7bc0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      modules/boonex/froala/classes/BxFroalaEditor.php

+ 1 - 1
modules/boonex/froala/classes/BxFroalaEditor.php

@@ -167,7 +167,7 @@ EOS;
             $sCss = $this->_oTemplate->addCss($aCss, true);
             
             $sScript = $sCss . "<script>
-                if ('undefined' == typeof(jQuery(document).froalaEditor)) {
+                if ('undefined' == typeof(window.FroalaEditor)) {
                     bx_get_scripts(" . json_encode($aJs) . ", function () {
                         $sInitEditor
                     });