1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-02 12:19:11 +00:00

Remove alert from addHook.

Thanks to @tobibeer
This commit is contained in:
James Welford Anderson 2014-11-23 14:34:04 +09:00
parent 1126458f8c
commit 804a579d17

View File

@ -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 {