dist/input-redactor.js in chr-0.2.5 vs dist/input-redactor.js in chr-0.2.7
- old
+ new
@@ -123,10 +123,10 @@
};
InputRedactor.prototype.initialize = function() {
var base, base1, plugins, redactor_options;
plugins = ['fixedtoolbar'];
- if (Loft) {
+ if (typeof Loft !== "undefined" && Loft !== null) {
plugins.push('loft');
}
redactor_options = {
focus: false,
imageFloatMargin: '20px',