diff --git a/code/hooks.js b/code/hooks.js index 04ca1fd7..f0c4b66f 100644 --- a/code/hooks.js +++ b/code/hooks.js @@ -70,7 +70,7 @@ window.runHooks = function(event, data) { $.each(_hooks[event], function(ind, callback) { if (callback(data) === false) { interupted = true; - return false; + return false; //break from $.each } }); return !interupted;