diff --git a/static/js/index.js b/static/js/index.js index f717cc3..e3e19a5 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -226,7 +226,7 @@ function aceEditEvent(hook_name, context, cb){ var callstack, x$; callstack = context.callstack; if (callstack.type !== 'setWraps') { - return; + return false; } x$ = $('iframe[name="ace_outer"]').contents(); x$.find('#sidediv').css({ @@ -267,4 +267,4 @@ if (!isStyleFuncSupported) { } RegExp.escape = function(text){ return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); -}; \ No newline at end of file +};