diff --git a/common/js/js_app.js b/common/js/js_app.js index ee2f90157..a6cf46d53 100644 --- a/common/js/js_app.js +++ b/common/js/js_app.js @@ -218,11 +218,7 @@ _app_base = { // BEFORE hooker if (aMsg['BEFORE_'+msg] || this['API_BEFORE_'+msg]) { var bContinue = this._cast(sender, 'BEFORE_'+msg, params); - if (!bContinue) { - this._fn_level--; - console.log('-', msg, this._fn_level); - return; - } + if (!bContinue) return; } // main api function