Merge pull request #205 from OSzhuo/ori

Valine 验证码和邮件提醒始终无效
master
Mr. X 4 years ago committed by GitHub
commit 1d982b6180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      layout/_partial/scripts.ejs

@ -182,8 +182,8 @@
var guest_info = '<%= theme.comments.valine.meta %>'.split(',').filter(function(item){
return GUEST_INFO.indexOf(item) > -1
});
var notify = '<%= theme.comments.valine.notify %>' == true;
var verify = '<%= theme.comments.valine.verify %>' == true;
var notify = '<%= theme.comments.valine.notify %>' == 'true';
var verify = '<%= theme.comments.valine.verify %>' == 'true';
var valine = new Valine();
valine.init({
el: '#valine_container',

Loading…
Cancel
Save