From 3a25688772be52a49c25fd22581e2a51e2f5fdd7 Mon Sep 17 00:00:00 2001 From: mossroy Date: Fri, 2 Aug 2013 10:29:16 +0200 Subject: [PATCH] Empty the search field after the user has selected and displayed an article. Fixes #37 --- index.html | 1 - js/app.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 9f3fa5fe..0d04f780 100644 --- a/index.html +++ b/index.html @@ -122,7 +122,6 @@ -
diff --git a/js/app.js b/js/app.js index d8f5f780..3fa795a5 100644 --- a/js/app.js +++ b/js/app.js @@ -246,6 +246,7 @@ define(function(require) { findTitleFromTitleIdAndLaunchArticleRead(titleId); var title = evopediaTitle.Title.parseTitleId(localArchive, titleId); pushBrowserHistoryState(title.name); + $("#prefix").val(""); return false; }