diff --git a/static/html/dashboard.html b/static/html/dashboard.html index 1e9b8b3..7676508 100644 --- a/static/html/dashboard.html +++ b/static/html/dashboard.html @@ -235,17 +235,16 @@ async: false }); }, - open_qunti: function (mind_id) { + open_pinglun: function (mind_id) { const me = this $.ajax({ type: "post", - url: "qunti", + url: "pinglun", headers: {"X-CSRFToken": $.cookie("csrftoken")}, data: {'id': mind_id}, dataType: "json", success: function (resp) { - window.location.href = resp.data; - console.log(resp) + me.show_share_url(mind_id) }, async: false });