Update docs.js

This commit is contained in:
Ivan Blinkov 2020-05-19 15:19:55 +03:00 committed by GitHub
parent 8d26cdd388
commit dbe36dd37d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 () {