diff --git a/website/js/docs.js b/website/js/docs.js index 7c1d8645cd2..f5a497ca033 100644 --- a/website/js/docs.js +++ b/website/js/docs.js @@ -155,7 +155,7 @@ $(document).ready(function () { url: window.location.pathname + 'rate/', type: 'POST', dataType: 'json', - data: {rating: $(this).prevAll().length + 1}, + data: JSON.stringify({rating: $(this).prevAll().length + 1}), success: function () { }, error: function () {