From b5caaf44a90bc91f7016d5c2f37f226712ce877c Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Mon, 14 Apr 2014 02:47:59 +0200 Subject: [PATCH] Added input history --- client/js/chat.js | 2 ++ client/js/lib/jquery-input-history | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/js/chat.js b/client/js/chat.js index 7aafe09..ba6e4ed 100644 --- a/client/js/chat.js +++ b/client/js/chat.js @@ -74,6 +74,7 @@ $(function() { chat.find(".window") .find("input") .tabComplete({after: " ", list: commands}) + .inputHistory({submit: true}) .end() .first() .bringToTop() @@ -101,6 +102,7 @@ $(function() { .last() .find("input") .tabComplete({after: " ", list: commands}) + .inputHistory({submit: true}) .end() .bringToTop() .find(".messages") diff --git a/client/js/lib/jquery-input-history b/client/js/lib/jquery-input-history index 574732d..bd8652a 160000 --- a/client/js/lib/jquery-input-history +++ b/client/js/lib/jquery-input-history @@ -1 +1 @@ -Subproject commit 574732d84a70abce4dc6e93a88cbe167129fb84f +Subproject commit bd8652a6b82fa109e4a02f63e95e5860f93a4db6