Skip to content

Commit

Permalink
do not clear search field after submit
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 27, 2013
1 parent 7e84891 commit 994be43
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Mojolicious/templates/mojobar.html.ep
Expand Up @@ -68,11 +68,6 @@
</div>
</div>
%= javascript begin
$('#mojobar-links form').submit(function (e) {
e.preventDefault();
this.submit();
$('#mojobar-links input[type="search"]').val('');
});
$(window).load(function () {
if (window.location.hash) {
var tweak = $(window.location.hash).offset().top - 50;
Expand Down

0 comments on commit 994be43

Please sign in to comment.