diff --git a/bot/bot.go b/bot/bot.go index e66eda7..8674a34 100644 --- a/bot/bot.go +++ b/bot/bot.go @@ -138,8 +138,8 @@ var rootIndex = ` Factoids - - + + {{if .EndPoints}}
diff --git a/plugins/cli/index.go b/plugins/cli/index.go index 09b4364..04b0be2 100644 --- a/plugins/cli/index.go +++ b/plugins/cli/index.go @@ -117,6 +117,8 @@ var indexHTML = ` }, send(evt) { evt.preventDefault(); + evt.stopPropagation() + this.input = ""; if (!this.authenticated) { console.log("User is a bot."); this.err = "User appears to be a bot."; diff --git a/plugins/fact/webTemplates.go b/plugins/fact/webTemplates.go index 0c0c7b7..a2b2d25 100644 --- a/plugins/fact/webTemplates.go +++ b/plugins/fact/webTemplates.go @@ -12,7 +12,7 @@ var factoidIndex = ` Factoids - + @@ -24,6 +24,7 @@ var factoidIndex = ` +
@@ -107,6 +108,7 @@ var factoidIndex = ` }); }); + `