Skip to content

Commit

Permalink
fix(Demo): Don't clear input on click
Browse files Browse the repository at this point in the history
Resolves #541
  • Loading branch information
cblanc committed Jul 2, 2020
1 parent 77d8fc6 commit 8f70d0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions public/js/app.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
$( document ).ready(function() {
$(".rest-resource").focus(function () {
$(this).val("");
});

var displayJsonResult = function ($context, data) {
$context.html(JSON.stringify(data, null, 4)).slideDown();
}
Expand Down Expand Up @@ -226,4 +222,4 @@ $( document ).ready(function() {
displayJsonResult($result, error.responseJSON);
});
});
});
});

0 comments on commit 8f70d0e

Please sign in to comment.