mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-20 11:31:37 -08:00
add spaces before and after else
This commit is contained in:
parent
7868187aa9
commit
ab2b60ea49
1 changed files with 1 additions and 1 deletions
|
|
@ -2798,7 +2798,7 @@ $tw.hooks.invokeHook = function(hookName /*, value,... */) {
|
|||
$tw.preloadHooks.forEach(function(hook){
|
||||
if(typeof hook !== "object" || typeof hook.name !== "string" || typeof hook.callback !== "function"){
|
||||
console.warn("Invalid hook definition in $tw.preloadHooks", hook);
|
||||
}else{
|
||||
} else {
|
||||
$tw.hooks.addHook(hook.name, hook.callback);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue