From 804a579d17e8d3fcccd9ace1aa0d81f8a1263203 Mon Sep 17 00:00:00 2001 From: James Welford Anderson Date: Sun, 23 Nov 2014 14:34:04 +0900 Subject: [PATCH] Remove alert from addHook. Thanks to @tobibeer --- boot/boot.js | 1 - 1 file changed, 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index 7f6222dd8..3d4a384d9 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -1909,7 +1909,6 @@ Add hooks to the hashmap */ $tw.hooks.addHook = function(hookName,definition) { if($tw.utils.hop($tw.hooks.names,hookName)) { - alert($tw.hooks.names[hookName]); $tw.hooks.names[hookName].push(definition); } else {