Skip to content

Commit

Permalink
default feedback input to nothing, so that its falsy
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed May 5, 2020
1 parent 72ff706 commit a8bad36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/v2/js/pages/quests.helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ $(document).ready(function() {

$('.give_feedback').on('click', async function(e) {
e.preventDefault();
var feedback = prompt('Any comments for the quest author? (optional)', 'Feedback: ');
var feedback = prompt('Any comments for the quest author? (optional)', '');
var polarity = $(this).data('direction');

var params = {
Expand Down

0 comments on commit a8bad36

Please sign in to comment.