Commit f1d9b3d0 authored by Van's avatar Van

评论地址默认值错误

parent 6145c23b
...@@ -402,7 +402,7 @@ $.extend(Page.prototype, { ...@@ -402,7 +402,7 @@ $.extend(Page.prototype, {
// cookie // cookie
var $top = $("#top #admin"); var $top = $("#top #admin");
if ($top.length === 1) { if ($top.length === 1) {
if ($top.find("a").length > 2) { if ($top.find("a").length > 3) {
Cookie.createCookie("commentName", $top.find("span").text(), 365); Cookie.createCookie("commentName", $top.find("span").text(), 365);
Cookie.createCookie("commentURL", window.location.host, 365); Cookie.createCookie("commentURL", window.location.host, 365);
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment