mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-10 07:43:49 +00:00
Remove alert from addHook.
Thanks to @tobibeer
This commit is contained in:
parent
1126458f8c
commit
804a579d17
@ -1909,7 +1909,6 @@ Add hooks to the hashmap
|
|||||||
*/
|
*/
|
||||||
$tw.hooks.addHook = function(hookName,definition) {
|
$tw.hooks.addHook = function(hookName,definition) {
|
||||||
if($tw.utils.hop($tw.hooks.names,hookName)) {
|
if($tw.utils.hop($tw.hooks.names,hookName)) {
|
||||||
alert($tw.hooks.names[hookName]);
|
|
||||||
$tw.hooks.names[hookName].push(definition);
|
$tw.hooks.names[hookName].push(definition);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user